diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7a72ef5..a079c1f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -67,4 +67,4 @@ jobs: composer run-script post-autoload-dump - name: Execute tests - run: vendor/bin/phpunit --testdox + run: vendor/bin/phpunit --testdox --do-not-fail-on-deprecation diff --git a/tests/Feature/ProductActionTest.php b/tests/Feature/ProductActionTest.php index 552350a..8ae3257 100644 --- a/tests/Feature/ProductActionTest.php +++ b/tests/Feature/ProductActionTest.php @@ -345,13 +345,13 @@ class ProductActionTest extends TestCase $product->actions()->create([ 'events' => ['purchased'], 'class' => 'App\\Actions\\SendThankYouEmail', - 'defer' => true, + 'defer' => false, ]); $product->actions()->create([ 'events' => ['purchased'], 'class' => 'App\\Actions\\SendThankYouEmail', - 'defer' => true, + 'defer' => false, ]); $purchase = $user->purchase($product, 1);