Skip to content

Commit b50e582

Browse files
authored
Merge pull request #707 from ReWiG/patch-55
Update notifications.md
2 parents d042960 + 9ea0616 commit b50e582

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

notifications.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
git: e0108313cd6f3f456f49349cd3625442d7a2401b
2+
git: 5f01fbcdb444f11dfbbaa031e3be6ce4cf3188a6
33
---
44

55
# Уведомления
@@ -1631,6 +1631,9 @@ test('orders can be shipped', function () {
16311631
[$user], AnotherNotification::class
16321632
);
16331633

1634+
// Утверждаем, что уведомление было отправлено дважды...
1635+
Notification::assertSentTimes(WeeklyReminder::class, 2);
1636+
16341637
// Утверждаем, что было отправлено заданное количество уведомлений...
16351638
Notification::assertCount(3);
16361639
});
@@ -1666,6 +1669,9 @@ class ExampleTest extends TestCase
16661669
[$user], AnotherNotification::class
16671670
);
16681671

1672+
// Утверждаем, что уведомление было отправлено дважды...
1673+
Notification::assertSentTimes(WeeklyReminder::class, 2);
1674+
16691675
// Утверждаем, что было отправлено заданное количество уведомлений...
16701676
Notification::assertCount(3);
16711677
}

0 commit comments

Comments
 (0)