Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
filipelautert committed Nov 15, 2023
1 parent 970592f commit 8f29374
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ void getURLTest() {

when(driverMock.connect(any())).thenReturn(clientMock);
connection.open(TEST_COSMOS_JSON_CONNECTION_STRING_1, driverMock, propertiesMock);
assertThat(connection.getURL()).isEqualTo(TEST_COSMOS_JSON_CONNECTION_STRING_1);
assertThat(connection.getURL()).isEqualTo("cosmosdb://{\"accountEndpoint\":\"https://ech-0a9d975b:8080\",\"databaseName\":\"testdb1\",\"accountKey\":\"*****\"}");
}

@SneakyThrows
Expand Down Expand Up @@ -80,4 +80,4 @@ void shouldNotCloseResetIfAlreadyClosed() {

assertThatCode(connection::close).doesNotThrowAnyException();
}
}
}

0 comments on commit 8f29374

Please sign in to comment.