Skip to content

Commit

Permalink
Updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lnash94 committed Sep 23, 2024
1 parent e65a1ad commit 6566fcb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import ballerina/http;
import ballerina/mime;
import ballerina/test;
import ballerina/data.jsondata;

service /api on new http:Listener(resBindingAdvancedPort) {

Expand Down
16 changes: 0 additions & 16 deletions ballerina-tests/http-client-tests/tests/sc_res_binding_tests.bal
Original file line number Diff line number Diff line change
Expand Up @@ -256,22 +256,6 @@ type AlbumFoundWithInvalidConstraints3 record {|
MediaTypeWithInvalidPattern mediaType;
|};

public type TPerson record {
@jsondata:Name {
value: "name"
}
string firstName;
@jsondata:Name {
value: "age"
}
string personAge;
};

public type OKPerson record {|
*http:Ok;
json body;
|};

service /api on new http:Listener(statusCodeBindingPort2) {

resource function get albums/[string id]() returns AlbumFound|AlbumNotFound {
Expand Down

0 comments on commit 6566fcb

Please sign in to comment.