From cc2ab4bde6d797b8c9e5a8e25c3af1901f1f1d3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Kr=C3=B6g?= Date: Mon, 1 Apr 2024 03:11:38 +0200 Subject: [PATCH] Test for delimiter after exported trigger MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maximilian Krög --- test/classes/Plugins/Export/ExportSqlTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/classes/Plugins/Export/ExportSqlTest.php b/test/classes/Plugins/Export/ExportSqlTest.php index a9ae0955da..e6aa176ef4 100644 --- a/test/classes/Plugins/Export/ExportSqlTest.php +++ b/test/classes/Plugins/Export/ExportSqlTest.php @@ -1061,7 +1061,7 @@ class ExportSqlTest extends AbstractTestCase $this->assertIsString($result); $this->assertStringContainsString('-- Triggers test_table', $result); $this->assertStringContainsString( - 'CREATE TRIGGER `test_trigger` AFTER INSERT ON `test_table` FOR EACH ROW BEGIN END', + "CREATE TRIGGER `test_trigger` AFTER INSERT ON `test_table` FOR EACH ROW BEGIN END\n$$", $result );