Skip to content

Commit 52a2c5b

Browse files
dati18outdooracorn
andauthored
Apply suggestions from code review
Co-authored-by: Ollie <43674967+outdooracorn@users.noreply.github.com>
1 parent 6657a58 commit 52a2c5b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/Jobs/SendEmptyWikiNotificationsJobTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,9 @@ public function testEmptyWikiNotificationsNotificationNotSent() {
6464
$wiki->wikiLifecycleEvents()->updateOrCreate(['first_edited' => null]);
6565

6666
$job = new SendEmptyWikiNotificationsJob;
67-
$this->assertFalse($job->checkIfWikiIsOldAndEmpty($wiki));
6867
$job->handle();
68+
69+
Notification::assertNothingSent();
6970
}
7071

7172
// fresh wiki that does not have lifecycle event records yet

0 commit comments

Comments
 (0)