Skip to content

Commit

Permalink
liquibase#90 fix compliler error due to fixing merge conflict in UI
Browse files Browse the repository at this point in the history
  • Loading branch information
jsonking committed Feb 20, 2021
1 parent f053e06 commit b1ed169
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public String getCommandName() {
@Override
public List<String> queryForList(final MongoLiquibaseDatabase database) {
Document command = createCommand();
Document response = getMongoDatabase(database).runCommand(command);
Document response = database.getMongoDatabase().runCommand(command);
List<Document> firstBatch = response.get("cursor", Document.class).get("firstBatch", List.class);
return firstBatch.stream()
.map(document -> document.getString("name"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ class CountCollectionByNameStatementIT extends AbstractMongoIntegrationTest {

@Test
void testQueryForLongIsOneWhenCollectionIsPresent() {
connection.getDatabase().createCollection(COLLECTION_NAME_1);
connection.getMongoDatabase().createCollection(COLLECTION_NAME_1);
assertThat(new CountCollectionByNameStatement(COLLECTION_NAME_1).queryForLong(database))
.isEqualTo(1);
Expand Down

0 comments on commit b1ed169

Please sign in to comment.