| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | public function testCreateWithOneParam() |
||
| 18 | { |
||
| 19 | app()->set('app', new Application()); |
||
|
|
|||
| 20 | |||
| 21 | $notification = NotificationFactory::create('fundraising-page', 'pending', 'org_supporters', ['789']); |
||
| 22 | |||
| 23 | self::assertInstanceOf(Notification::class, $notification); |
||
| 24 | self::assertSame($notification->param, '789'); |
||
| 25 | } |
||
| 55 |