Skip to content

Commit 027c11a

Browse files
committed
Update to Statamic 5 test suite
1 parent f488d4b commit 027c11a

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ vendor
33
mix-manifest.json
44
public/hot
55
composer.lock
6-
.idea
6+
.idea
7+
.phpunit.cache

tests/TestCase.php

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,10 @@
22

33
namespace Tests;
44

5+
use Statamic\Testing\AddonTestCase;
56
use Tv2regionerne\StatamicFilterBuilder\ServiceProvider;
67

7-
class TestCase extends \Orchestra\Testbench\TestCase
8+
class TestCase extends AddonTestCase
89
{
9-
protected function getPackageProviders($app)
10-
{
11-
return [
12-
ServiceProvider::class,
13-
\Statamic\Providers\StatamicServiceProvider::class,
14-
];
15-
}
10+
protected string $addonServiceProvider = ServiceProvider::class;
1611
}

0 commit comments

Comments
 (0)