Skip to content

Commit

Permalink
Merge branch 'development' of github.com:12urenloop/Telraam into deve…
Browse files Browse the repository at this point in the history
…lopment
  • Loading branch information
abeforgit committed Nov 4, 2019
2 parents 503370c + 2727609 commit d5f67d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
language: java
3 changes: 1 addition & 2 deletions src/test/java/telraam/database/daos/JDBCBatonDAOTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,14 @@ void setUp() {
}

@AfterEach
void BreakDown() throws DataAccessException {
void breakDown() throws DataAccessException {
dac.close();
}

@Test
void insert(){
Baton newBaton = dac.getBatonDAO().insert(new Baton("baton2"));

assertEquals(1, newBaton.getId()); // It's the first generated id in the table
assertEquals("baton2", newBaton.getName());
}

Expand Down

0 comments on commit d5f67d9

Please sign in to comment.