diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2025-01-29 13:24:12 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2025-01-29 13:24:12 +0100 |
commit | 82a3b71a514fb69ec6c0e4e3ad75487cf9659d88 (patch) | |
tree | 69771a16e605459463b7ad9c8e42ca3f969b506d | |
parent | e39b2eb7b96cec566fcfacf9bf34cc17aed3a7bb (diff) | |
download | volse-hubzilla-82a3b71a514fb69ec6c0e4e3ad75487cf9659d88.tar.gz volse-hubzilla-82a3b71a514fb69ec6c0e4e3ad75487cf9659d88.tar.bz2 volse-hubzilla-82a3b71a514fb69ec6c0e4e3ad75487cf9659d88.zip |
Fix broken DbaPdo test on postgresql
-rw-r--r-- | tests/unit/includes/dba/DbaPdoTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/includes/dba/DbaPdoTest.php b/tests/unit/includes/dba/DbaPdoTest.php index 5d85a1604..8a1a2b197 100644 --- a/tests/unit/includes/dba/DbaPdoTest.php +++ b/tests/unit/includes/dba/DbaPdoTest.php @@ -95,7 +95,7 @@ class DbaPdoTest extends UnitTestCase public function testUpdateRow(): void { // Let's fetch a row from the config table - $res = q('SELECT * FROM config WHERE cat = "system" AND k = "baseurl"'); + $res = q("SELECT * FROM config WHERE cat = 'system' AND k = 'baseurl'"); $this->assertIsArray($res); $this->assertIsArray($res[0]); @@ -113,7 +113,7 @@ class DbaPdoTest extends UnitTestCase $this->assertTrue($updated); // Verify that the record was updated - $updated_res = q('SELECT * FROM config WHERE cat = "system" AND k = "baseurl"'); + $updated_res = q("SELECT * FROM config WHERE cat = 'system' AND k = 'baseurl'"); $this->assertIsArray($updated_res); $updated_row = $updated_res[0]; |