Skip to content

Commit

Permalink
Fix test data
Browse files Browse the repository at this point in the history
  • Loading branch information
SgtSilvio committed Sep 2, 2024
1 parent f79069c commit bed5980
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,12 @@ void call_urlAndRateLimitPassed_usedInApi() {

@Test
void execute_printVersionSet_versionPrinted() throws ApiException {
final @NotNull String apiScriptResponseJson = "{" +
final String apiScriptResponseJson = "{" +
"\"id\":\"s1\"," +
"\"version\":5," +
"\"createdAt\":\"2020-01-02T03:04:05.006Z\"," +
"\"type\":\"FUNCTION\"," +
"\"scriptDefinition\":\"J2NvbnNvbGUubG9nKCdIZWxsbywgV29ybGQhJyk7\"," +
"\"arguments\":{}" +
"\"functionType\":\"TRANSFORMATION\"," +
"\"source\":\"J2NvbnNvbGUubG9nKCdIZWxsbywgV29ybGQhJyk7\"" +
"}";
final HivemqOpenapiScript createdScript =
openapiSerialization.deserialize(apiScriptResponseJson, HivemqOpenapiScript.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,10 @@ public class TestResponseBodies {
" \"username\": \"user-1\",\n" +
" \"password\": \"pass-1\", \n" +
" \"cleanStart\": true,\n" +
" \"tls\": {\n" +
" \"tlsInformation\": {\n" +
" \"cipherSuite\": \"TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256\",\n" +
" \"tlsVersion\": \"TLSv1.2\",\n" +
" \"certificate\": {\n" +
" \"certificateInformation\": {\n" +
" \"commonName\": \"CertCN\",\n" +
" \"organization\": \"my-org\",\n" +
" \"organizationalUnit\": \"org-unit\",\n" +
Expand Down Expand Up @@ -208,8 +208,6 @@ public class TestResponseBodies {
" \"id\": \"client-1\",\n" +
" \"connected\": false,\n" +
" \"sessionExpiryInterval\": 120,\n" +
" \"sessionExpiresAt\": \"2019-10-10T16:45:14Z\",\n" +
" \"disconnectedAt\": \"2019-10-10T16:43:14Z\",\n" +
" \"messageQueueSize\": 674,\n" +
" \"willPresent\": false,\n" +
" \"restrictions\": {\n" +
Expand Down

0 comments on commit bed5980

Please sign in to comment.