diff options
Diffstat (limited to 'plugins/CoreHome/tests/Integration/ChangesTest.php')
-rw-r--r-- | plugins/CoreHome/tests/Integration/ChangesTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CoreHome/tests/Integration/ChangesTest.php b/plugins/CoreHome/tests/Integration/ChangesTest.php index 3c22ad03f3..f722b15324 100644 --- a/plugins/CoreHome/tests/Integration/ChangesTest.php +++ b/plugins/CoreHome/tests/Integration/ChangesTest.php @@ -27,7 +27,7 @@ class ChangesTest extends IntegrationTestCase public function test_CoreHomeChanges_ShouldSortChangeListMostRecentFirst() { - $json = '{"idchange":5,"plugin_name":"CoreHome","version":"4.6.0b5","title":"New feature x added","description":"Now you can do a with b like this","link_name":"For more information go here","link":"https:\/\/www.matomo.org"}'; + $json = '{"idchange":6,"plugin_name":"CoreHome","version":"4.6.0b5","title":"New feature x added","description":"Now you can do a with b like this","link_name":"For more information go here","link":"https:\/\/www.matomo.org"}'; $changesModel = new ChangesModel(); $changes = $changesModel->getChangeItems(); $r = reset($changes); @@ -37,7 +37,7 @@ class ChangesTest extends IntegrationTestCase public function test_CoreHomeChanges_ShouldAllowChangeItemAddWithoutLink() { - $json = '{"idchange":4,"plugin_name":"CoreHome","version":"4.5.0","title":"New feature y added","description":"Now you can do c with d like this","link_name":null,"link":null}'; + $json = '{"idchange":5,"plugin_name":"CoreHome","version":"4.5.0","title":"New feature y added","description":"Now you can do c with d like this","link_name":null,"link":null}'; $changesModel = new ChangesModel(); $changes = $changesModel->getChangeItems(); $r = $changes[1]; |