]> git.mxchange.org Git - friendica.git/commitdiff
Updated PConfiguration test to honor the type-hint
authorHypolite Petovan <hypolite@mrpetovan.com>
Tue, 16 Jul 2019 01:50:01 +0000 (21:50 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Tue, 16 Jul 2019 02:00:49 +0000 (22:00 -0400)
tests/src/Core/Config/PConfigurationTest.php

index 1d5e9c0a17e2b0c15e9cb8f7046fc809ebb1500e..5554731bfd9b95bf50be5d7e6a69c01658cdcfed 100644 (file)
@@ -460,7 +460,7 @@ abstract class PConfigurationTest extends MockedTest
        public function testInvalidUid()
        {
                // bad UID!
-               $uid = null;
+               $uid = 0;
 
                $this->testedConfig = $this->getInstance();