Skip to content

Commit

Permalink
Remove redundant assert.
Browse files Browse the repository at this point in the history
  • Loading branch information
jladieu committed Nov 9, 2023
1 parent d623989 commit 4749f4b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,8 @@ void testUserHasAccessToSnapshot(MockServer mockServer) {

SnapshotModel snapshot = dataRepoDao.getSnapshot(dummySnapshotId);
assertNotNull(snapshot, "Snapshot request should return a snapshot");
assertNotNull(snapshot.getId(), "Snapshot response should have an id");
assertNotNull(snapshot.getName(), "Snapshot response should have a name");
assertEquals(dummySnapshotId, snapshot.getId());
assertEquals(dummySnapshotId, snapshot.getId(), "Snapshot id should match the requested id");

var tables = snapshot.getTables();
assertFalse(tables.isEmpty());
Expand Down

0 comments on commit 4749f4b

Please sign in to comment.