From bd929694188dc7df7277d8430df5534dcb2b914a Mon Sep 17 00:00:00 2001 From: Maxime Rainville Date: Tue, 26 Feb 2019 14:20:14 +1300 Subject: [PATCH] FIX Use a function common to MySQL, SQLite and PostgreSQL to test dynamic DBFIeld assigment --- tests/model/Mock/MockDynamicAssignmentDBField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/model/Mock/MockDynamicAssignmentDBField.php b/tests/model/Mock/MockDynamicAssignmentDBField.php index 5949434fd..4a09c4a29 100644 --- a/tests/model/Mock/MockDynamicAssignmentDBField.php +++ b/tests/model/Mock/MockDynamicAssignmentDBField.php @@ -35,7 +35,7 @@ class MockDynamicAssignmentDBField extends Boolean { if ($value) { return $this->dynamicAssignment - ? array('GREATEST(?, ?)' => array(0, 1)) + ? array('ABS(?)' => array(1)) : 1; }