diff --git a/tests/webfiori/framework/test/PageTest.php b/tests/webfiori/framework/test/PageTest.php index f499416a..161aaf89 100644 --- a/tests/webfiori/framework/test/PageTest.php +++ b/tests/webfiori/framework/test/PageTest.php @@ -320,7 +320,7 @@ public function testDefaults00() { $this->assertEquals('ltr',$page->getWritingDir()); $this->assertNotNull($page->getTranslation()); $this->assertEquals('https://127.0.0.1/',$page->getCanonical()); - $this->assertEquals('http://127.0.0.1',$page->getBase()); + $this->assertEquals('https://127.0.0.1',$page->getBase()); } /** * @test diff --git a/tests/webfiori/framework/test/config/JsonDriverTest.php b/tests/webfiori/framework/test/config/JsonDriverTest.php index c85e8ddf..5055b33e 100644 --- a/tests/webfiori/framework/test/config/JsonDriverTest.php +++ b/tests/webfiori/framework/test/config/JsonDriverTest.php @@ -38,7 +38,7 @@ public function test00() { 'description' => 'Configure the verbosity of error messsages at run-time. This should be set to true in testing and false in production.' ], 'CLI_HTTP_HOST' => [ - 'value' => 'example.com', + "value" => "127.0.0.1", 'description' => 'Host name that will be used when runing the application as command line utility.' ], ],$driver->getEnvVars()); @@ -147,7 +147,7 @@ public function testAddEnvVar00() { 'description' => 'Configure the verbosity of error messsages at run-time. This should be set to true in testing and false in production.' ], "CLI_HTTP_HOST" => [ - "value" => "example.com", + "value" => "127.0.0.1", "description" => "Host name that will be used when runing the application as command line utility." ] ], $driver->getEnvVars());