Skip to content

Commit

Permalink
fix: validation tests - channels case
Browse files Browse the repository at this point in the history
In 2023.3 internal format for linter error was changed
  • Loading branch information
Pakisan committed Dec 8, 2023
1 parent 6027c75 commit f1b6336
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 21 deletions.
6 changes: 3 additions & 3 deletions src/test/testData/json/inspection/2.0.0/without channels.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<error descr="Missing required property 'channels'">{
"asyncapi": "2.0.0",
{
<error descr="Missing required property 'channels'">"asyncapi": "2.0.0"</error>,
"info": {
"title": "Account Service",
"version": "1.0.0",
Expand Down Expand Up @@ -36,4 +36,4 @@
}
}
}
}</error>
}
6 changes: 3 additions & 3 deletions src/test/testData/json/inspection/2.1.0/without channels.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<error descr="Missing required property 'channels'">{
"asyncapi": "2.1.0",
{
<error descr="Missing required property 'channels'">"asyncapi": "2.1.0"</error>,
"info": {
"title": "Account Service",
"version": "1.0.0",
Expand Down Expand Up @@ -36,4 +36,4 @@
}
}
}
}</error>
}
6 changes: 3 additions & 3 deletions src/test/testData/json/inspection/2.2.0/without channels.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<error descr="Missing required property 'channels'">{
"asyncapi": "2.2.0",
{
<error descr="Missing required property 'channels'">"asyncapi": "2.2.0"</error>,
"info": {
"title": "Account Service",
"version": "1.0.0",
Expand Down Expand Up @@ -36,4 +36,4 @@
}
}
}
}</error>
}
6 changes: 3 additions & 3 deletions src/test/testData/json/inspection/2.3.0/without channels.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<error descr="Missing required property 'channels'">{
"asyncapi": "2.3.0",
{
<error descr="Missing required property 'channels'">"asyncapi": "2.3.0"</error>,
"info": {
"title": "Account Service",
"version": "1.0.0",
Expand Down Expand Up @@ -36,4 +36,4 @@
}
}
}
}</error>
}
6 changes: 3 additions & 3 deletions src/test/testData/json/inspection/2.4.0/without channels.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<error descr="Missing required property 'channels'">{
"asyncapi": "2.4.0",
{
<error descr="Missing required property 'channels'">"asyncapi": "2.4.0"</error>,
"info": {
"title": "Account Service",
"version": "1.0.0",
Expand Down Expand Up @@ -36,4 +36,4 @@
}
}
}
}</error>
}
6 changes: 3 additions & 3 deletions src/test/testData/json/inspection/2.5.0/without channels.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<error descr="Missing required property 'channels'">{
"asyncapi": "2.5.0",
{
<error descr="Missing required property 'channels'">"asyncapi": "2.5.0"</error>,
"info": {
"title": "Account Service",
"version": "1.0.0",
Expand Down Expand Up @@ -36,4 +36,4 @@
}
}
}
}</error>
}
6 changes: 3 additions & 3 deletions src/test/testData/json/inspection/2.6.0/without channels.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<error descr="Missing required property 'channels'">{
"asyncapi": "2.6.0",
{
<error descr="Missing required property 'channels'">"asyncapi": "2.6.0"</error>,
"info": {
"title": "Account Service",
"version": "1.0.0",
Expand Down Expand Up @@ -36,4 +36,4 @@
}
}
}
}</error>
}

0 comments on commit f1b6336

Please sign in to comment.