From a74c0e86c990801c6ce61f3620f395818f6e341f Mon Sep 17 00:00:00 2001 From: Philipp Date: Sat, 13 May 2023 22:46:10 +0200 Subject: [PATCH] PHP-CS ... --- tests/src/Database/DatabaseTest.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/src/Database/DatabaseTest.php b/tests/src/Database/DatabaseTest.php index 26300852c8..47d4032209 100644 --- a/tests/src/Database/DatabaseTest.php +++ b/tests/src/Database/DatabaseTest.php @@ -72,12 +72,16 @@ class DatabaseTest extends FixtureTest self::assertEquals(2, $db->selectFirst('gserver', ['active-week-users'], ['nurl' => 'http://friendica.local'])['active-week-users']); self::assertTrue($db->update('gserver', [ 'site_name' => 'test', "`registered-users` = `registered-users` + 1", - 'info' => 'another test'], ['nurl' => 'http://friendica.local' + 'info' => 'another test' + ], [ + 'nurl' => 'http://friendica.local' ])); self::assertEquals(2, $db->selectFirst('gserver', ['registered-users'], ['nurl' => 'http://friendica.local'])['registered-users']); self::assertTrue($db->update('gserver', [ 'site_name' => 'test', "`registered-users` = `registered-users` - 1", - 'info' => 'another test'], ['nurl' => 'http://friendica.local' + 'info' => 'another test' + ], [ + 'nurl' => 'http://friendica.local' ])); self::assertEquals(1, $db->selectFirst('gserver', ['registered-users'], ['nurl' => 'http://friendica.local'])['registered-users']); } -- 2.39.5