File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- git : e0108313cd6f3f456f49349cd3625442d7a2401b
2
+ git : 5f01fbcdb444f11dfbbaa031e3be6ce4cf3188a6
3
3
---
4
4
5
5
# Уведомления
@@ -1631,6 +1631,9 @@ test('orders can be shipped', function () {
1631
1631
[$user], AnotherNotification::class
1632
1632
);
1633
1633
1634
+ // Утверждаем, что уведомление было отправлено дважды...
1635
+ Notification::assertSentTimes(WeeklyReminder::class, 2);
1636
+
1634
1637
// Утверждаем, что было отправлено заданное количество уведомлений...
1635
1638
Notification::assertCount(3);
1636
1639
});
@@ -1666,6 +1669,9 @@ class ExampleTest extends TestCase
1666
1669
[$user], AnotherNotification::class
1667
1670
);
1668
1671
1672
+ // Утверждаем, что уведомление было отправлено дважды...
1673
+ Notification::assertSentTimes(WeeklyReminder::class, 2);
1674
+
1669
1675
// Утверждаем, что было отправлено заданное количество уведомлений...
1670
1676
Notification::assertCount(3);
1671
1677
}
You can’t perform that action at this time.
0 commit comments