Skip to content

Commit

Permalink
Merge 58d962b into 3bee7ce
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan Mckenzie committed Nov 7, 2018
2 parents 3bee7ce + 58d962b commit f39e6c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public void cleanStreamBufferTable(final String contextName) {
*
* @param contextName the name of the context who's tables you are cleaning
*/
public void cleanSubscriptionTable(final String contextName) {
public void cleanStreamStatusTable(final String contextName) {
cleanViewStoreTables(contextName, "stream_status");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public void shouldCleanTheSubscriptionTable() throws Exception {
when(testJdbcConnectionProvider.getViewStoreConnection(contextName)).thenReturn(connection);
when(connection.prepareStatement("DELETE FROM " + tableName)).thenReturn(preparedStatement);

databaseCleaner.cleanSubscriptionTable(contextName);
databaseCleaner.cleanStreamStatusTable(contextName);

verify(preparedStatement).executeUpdate();
verify(connection).close();
Expand Down

0 comments on commit f39e6c3

Please sign in to comment.