Skip to content

Commit

Permalink
Fix ContributionsTest
Browse files Browse the repository at this point in the history
  • Loading branch information
edwh committed Jun 20, 2022
1 parent d9ab2f6 commit 142256e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
<exclude>./tests/Feature/Microtasks/FaultcatTest.php</exclude>
<exclude>./tests/Feature/Microtasks/MisccatTest.php</exclude>
<exclude>./tests/Feature/Microtasks/MobifixTest.php</exclude>
<exclude>./tests/Feature/Microtasks/ContributionsTest.php</exclude>
<exclude>./tests/Feature/Stats/StatsTestCase.php</exclude>
<exclude>./tests/Feature/Users/Registration/DiscourseAccountCreationTests.php</exclude>
</testsuite>
Expand Down
1 change: 1 addition & 0 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 142256e

Please sign in to comment.