Skip to content

Commit

Permalink
test: Fix Test Cases
Browse files Browse the repository at this point in the history
  • Loading branch information
usernane committed Dec 4, 2024
1 parent 44915f2 commit 1bad379
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/webfiori/framework/test/PageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions tests/webfiori/framework/test/config/JsonDriverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down Expand Up @@ -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());
Expand Down

0 comments on commit 1bad379

Please sign in to comment.