Skip to content

Commit df138c9

Browse files
committed
✅ passed test
1 parent c3ad9d1 commit df138c9

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

tests/Feature/UserActivitiesTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
'type' => 'created_article',
1414
'user_id' => auth()->id(),
1515
'subject_id' => $article->id,
16-
'subject_type' => Article::class,
16+
'subject_type' => 'article',
1717
]);
1818

1919
$activity = Activity::first();

tests/Integration/DiscussionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
'type' => 'created_discussion',
4040
'user_id' => auth()->id(),
4141
'subject_id' => $discussion->id,
42-
'subject_type' => Discussion::class,
42+
'subject_type' => 'discussion',
4343
]);
4444

4545
$activity = Activity::first();

tests/Integration/ReplyTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
'type' => 'created_reply',
1717
'user_id' => auth()->id(),
1818
'subject_id' => $reply->id,
19-
'subject_type' => Reply::class,
19+
'subject_type' => 'reply',
2020
]);
2121

2222
$activity = Activity::first();

tests/Integration/ThreadTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
'type' => 'created_thread',
4343
'user_id' => auth()->id(),
4444
'subject_id' => $thread->id,
45-
'subject_type' => Thread::class,
45+
'subject_type' => 'thread',
4646
]);
4747

4848
$activity = Activity::first();

0 commit comments

Comments
 (0)