From 3f88e6257269a6904d2c8952d6564ce99e86dc33 Mon Sep 17 00:00:00 2001 From: David Gregory <2992938+DavidGregory084@users.noreply.github.com> Date: Thu, 1 Feb 2024 19:22:54 +0000 Subject: [PATCH] Remove unnecessary import & fix pgTAP test --- src/test/java/com/opencastsoftware/pgtap/ExampleTest.java | 1 - src/test/sql/schema-test.sql | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test/java/com/opencastsoftware/pgtap/ExampleTest.java b/src/test/java/com/opencastsoftware/pgtap/ExampleTest.java index 0a01516..df46891 100644 --- a/src/test/java/com/opencastsoftware/pgtap/ExampleTest.java +++ b/src/test/java/com/opencastsoftware/pgtap/ExampleTest.java @@ -6,7 +6,6 @@ import org.flywaydb.core.Flyway; import org.junit.jupiter.api.BeforeAll; -import org.junit.jupiter.api.BeforeEach; import org.testcontainers.containers.PostgreSQLContainer; import org.testcontainers.containers.wait.strategy.Wait; import org.testcontainers.junit.jupiter.Container; diff --git a/src/test/sql/schema-test.sql b/src/test/sql/schema-test.sql index ab252d1..7a25cf6 100644 --- a/src/test/sql/schema-test.sql +++ b/src/test/sql/schema-test.sql @@ -11,7 +11,7 @@ SELECT has_table( SELECT columns_are( 'test', 'conditions', - ARRAY ['time', 'location', 'device', 'temperature', 'humidity', 'sunlight_intensity'], + ARRAY ['time', 'location', 'device', 'temperature', 'humidity'], 'The conditions table has the expected columns' );