Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions tests/Integration/CustomAlertsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
);
}
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@james-hill-matomo This screenshot diff is strange, and not related to our last UI changes

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tzi The new option is expected. The extra empty checkbox is annoying, and I've captured it in another ticket.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.