From a731826c7b80fe0167f06a87c19bab021404eac4 Mon Sep 17 00:00:00 2001 From: Taka Oyama Date: Fri, 6 Jan 2023 11:18:31 +0900 Subject: [PATCH] chore: schema tests should always run since speed is no longer an issue --- phpunit.xml | 1 - tests/Schema/BuilderTest.php | 15 --------------- 2 files changed, 16 deletions(-) diff --git a/phpunit.xml b/phpunit.xml index 2f4b5dd7..2241ccdb 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -32,6 +32,5 @@ - diff --git a/tests/Schema/BuilderTest.php b/tests/Schema/BuilderTest.php index c2d28ab6..336c8a14 100644 --- a/tests/Schema/BuilderTest.php +++ b/tests/Schema/BuilderTest.php @@ -32,21 +32,6 @@ class BuilderTest extends TestCase private const TABLE_NAME_COMPOSITE_PRIMARY_KEY = 'composite_primary_key_test_table'; private const TABLE_NAME_CONTAINS_ARRAY_TYPE_COLUMN = 'array_type_column_test_table'; - private const RUN_TEST_TRIGGER_ENV_VARIABLE_NAME = 'LARAVEL_SPANNER_RUN_SCHEMA_BUILDER_TESTS'; - - private function skipUnlessEnvVarSet(): void - { - if (getenv(self::RUN_TEST_TRIGGER_ENV_VARIABLE_NAME) === false) { - $this->markTestSkipped('Skipping since this takes a long time。Please add the environment variable: '.self::RUN_TEST_TRIGGER_ENV_VARIABLE_NAME.' to enable this test'); - } - } - - protected function setUp(): void - { - parent::setUp(); - $this->skipUnlessEnvVarSet(); - } - public function testSchemaCreate(): void { $conn = $this->getDefaultConnection();