Add notification filters
This commit is contained in:
@@ -33,6 +33,7 @@ class NotificationActionTest extends TestCase
|
||||
$this->assertSame(NotificationEventType::TicketStatusChanged, $notificationAction->fresh()->event_type);
|
||||
$this->assertSame(NotificationChannel::Webhook, $notificationAction->fresh()->channel);
|
||||
$this->assertSame([], $notificationAction->fresh()->channel_configuration);
|
||||
$this->assertSame([], $notificationAction->fresh()->filters ?? []);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -61,5 +62,6 @@ class NotificationActionTest extends TestCase
|
||||
$this->assertArrayNotHasKey('delivery_url', $notificationAction->fresh()->toArray());
|
||||
$this->assertArrayNotHasKey('delivery_url', $resource);
|
||||
$this->assertTrue($resource['has_delivery_url']);
|
||||
$this->assertSame([], $resource['filters']);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user