diff --git a/.github/workflows/test-migrations.yml b/.github/workflows/test-migrations.yml index 710fafcf2..63f52a295 100644 --- a/.github/workflows/test-migrations.yml +++ b/.github/workflows/test-migrations.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - php: ['8.0', '8.1', '8.2'] + php: ['8.0', '8.1', '8.2', '8.3'] steps: - uses: actions/checkout@v1 diff --git a/.github/workflows/test-php.yml b/.github/workflows/test-php.yml index 64b1a2915..89ebf0dec 100644 --- a/.github/workflows/test-php.yml +++ b/.github/workflows/test-php.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - php: ['8.0', '8.1', '8.2'] + php: ['8.0', '8.1', '8.2', '8.3'] steps: - uses: actions/checkout@v1 diff --git a/tests/Activity/WatchTest.php b/tests/Activity/WatchTest.php index 5b9ae5a4c..63e51c92e 100644 --- a/tests/Activity/WatchTest.php +++ b/tests/Activity/WatchTest.php @@ -336,7 +336,10 @@ class WatchTest extends TestCase $activities = [ ActivityType::PAGE_CREATE => $entities['page'], ActivityType::PAGE_UPDATE => $entities['page'], - ActivityType::COMMENT_CREATE => (new Comment([]))->forceFill(['entity_id' => $entities['page']->id, 'entity_type' => $entities['page']->getMorphClass()]), + ActivityType::COMMENT_CREATE => Comment::factory()->make([ + 'entity_id' => $entities['page']->id, + 'entity_type' => $entities['page']->getMorphClass(), + ]), ]; $notifications = Notification::fake();