From 142256ec13bc358f4bd7730babc4006f4182062a Mon Sep 17 00:00:00 2001 From: Edward Hibbert Date: Mon, 20 Jun 2022 10:20:48 +0100 Subject: [PATCH] Fix ContributionsTest --- phpunit.xml | 1 - tests/TestCase.php | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/phpunit.xml b/phpunit.xml index 353294db33..f3c19acbeb 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -16,7 +16,6 @@ ./tests/Feature/Microtasks/FaultcatTest.php ./tests/Feature/Microtasks/MisccatTest.php ./tests/Feature/Microtasks/MobifixTest.php - ./tests/Feature/Microtasks/ContributionsTest.php ./tests/Feature/Stats/StatsTestCase.php ./tests/Feature/Users/Registration/DiscourseAccountCreationTests.php diff --git a/tests/TestCase.php b/tests/TestCase.php index 00b815eaf9..d5a0512239 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -63,6 +63,7 @@ protected function setUp(): void DB::delete('delete from grouptags_groups'); DB::table('notifications')->truncate(); DB::statement('SET foreign_key_checks=1'); + DB::delete('delete from devices_faults_vacuums_ora_opinions'); // Set up random auto increment values. This avoids tests working because everything is 1. $tables = DB::select('SHOW TABLES');