diff --git a/com.io7m.laurel.tests/src/main/java/com/io7m/laurel/tests/LFileModelTest.java b/com.io7m.laurel.tests/src/main/java/com/io7m/laurel/tests/LFileModelTest.java index b47bd97..a79ba11 100644 --- a/com.io7m.laurel.tests/src/main/java/com/io7m/laurel/tests/LFileModelTest.java +++ b/com.io7m.laurel.tests/src/main/java/com/io7m/laurel/tests/LFileModelTest.java @@ -35,6 +35,7 @@ import com.io7m.laurel.model.LMetadataValue; import com.io7m.zelador.test_extension.CloseableResourcesType; import com.io7m.zelador.test_extension.ZeladorExtension; +import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; @@ -116,6 +117,13 @@ public void setup( } } + @AfterEach + public void tearDown() + throws LException + { + this.model.close(); + } + @Test public void testImageSelectNonexistent() throws Exception