mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-25 09:42:10 +08:00
Testing: Added PHP8.3 support
Also fixed text which could through deprecation notice due to not having a properly formed comment in use. For #4633
This commit is contained in:
parent
c640db8434
commit
fce7190257
2
.github/workflows/test-migrations.yml
vendored
2
.github/workflows/test-migrations.yml
vendored
|
@ -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
|
||||
|
||||
|
|
2
.github/workflows/test-php.yml
vendored
2
.github/workflows/test-php.yml
vendored
|
@ -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
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user