Skip to content

Commit de38168

Browse files
BoxStoreBuilderTest: close store once done.
1 parent 3bb2810 commit de38168

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/objectbox-java-test/src/test/java/io/objectbox/BoxStoreBuilderTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ public void testClearDefaultStore() {
7676
boxStore1.close();
7777
BoxStore boxStore = builder.buildDefault();
7878
assertSame(boxStore, BoxStore.getDefault());
79+
boxStore.close();
7980
}
8081

8182
@Test(expected = IllegalStateException.class)

0 commit comments

Comments
 (0)