]> git.mxchange.org Git - friendica.git/commitdiff
PHP-CS ...
authorPhilipp <admin@philipp.info>
Sat, 13 May 2023 20:46:10 +0000 (22:46 +0200)
committerPhilipp <admin@philipp.info>
Sat, 13 May 2023 20:46:10 +0000 (22:46 +0200)
tests/src/Database/DatabaseTest.php

index 26300852c8fd2251f1d61ae63d5eabefd0802ac6..47d40322099b58136a0f11f24836592792aa72d8 100644 (file)
@@ -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']);
        }