From 5525a959a8038dd97aef81d3850e6fd1546499b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tautvidas=20Sipavi=C4=8Dius?= Date: Mon, 30 Jan 2017 21:50:22 +0200 Subject: [PATCH] Fix remaining unit tests after translation changes --- tests/unit/Router/RouterTest.php | 2 +- tests/unit/Subscribers/ImportExport/Export/ExportTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/Router/RouterTest.php b/tests/unit/Router/RouterTest.php index 97b6d6d5c0..56ec54ddd0 100644 --- a/tests/unit/Router/RouterTest.php +++ b/tests/unit/Router/RouterTest.php @@ -85,7 +85,7 @@ class FrontRouterTest extends MailPoetTest { expect($result)->equals( array( 404, - 'Invalid router endpoint action.' + 'Invalid router endpoint action' ) ); } diff --git a/tests/unit/Subscribers/ImportExport/Export/ExportTest.php b/tests/unit/Subscribers/ImportExport/Export/ExportTest.php index 82157a17a7..49e8b60507 100644 --- a/tests/unit/Subscribers/ImportExport/Export/ExportTest.php +++ b/tests/unit/Subscribers/ImportExport/Export/ExportTest.php @@ -228,7 +228,7 @@ class ExportTest extends MailPoetTest { $this->fail('Export did not throw an exception'); } catch(\Exception $e) { expect($e->getMessage()) - ->equals("Couldn't save export file on the server"); + ->equals("The export file could not be saved on the server."); } }