diff --git a/tests/Integration/CustomAlertsTest.php b/tests/Integration/CustomAlertsTest.php index 500169e..e553965 100644 --- a/tests/Integration/CustomAlertsTest.php +++ b/tests/Integration/CustomAlertsTest.php @@ -35,10 +35,9 @@ public function setUp(): void } public function testGetReportMediumOptions() { - $this->assertEquals([ - ['key' => 'email', 'value' => 'CustomAlerts_MediumEmail', 'disabled' => false], - ['key' => 'mobile', 'value' => 'CustomAlerts_MediumMobile', 'disabled' => false], + $this->assertContains( ['key' => 'slack', 'value' => 'CustomAlerts_MediumSlack', 'disabled' => false], - ], CustomAlerts::getReportMediumOptions()); + CustomAlerts::getReportMediumOptions() + ); } } diff --git a/tests/UI/expected-ui-screenshots/CustomAlerts_send_via_slack_new.png b/tests/UI/expected-ui-screenshots/CustomAlerts_send_via_slack_new.png index 0003f9c..a00b84e 100644 Binary files a/tests/UI/expected-ui-screenshots/CustomAlerts_send_via_slack_new.png and b/tests/UI/expected-ui-screenshots/CustomAlerts_send_via_slack_new.png differ