Skip to content

Commit

Permalink
Fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
Naktibalda committed Feb 19, 2022
1 parent 4429d7e commit 70c9934
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/Codeception/Module/TestsForBrowsers.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ public function testAmOnSubdomain()
{
$this->module->_reconfigure(['url' => 'https://google.com']);
$this->module->amOnSubdomain('user');
$this->assertEquals('http://user.google.com', $this->module->_getUrl());
$this->assertEquals('https://user.google.com', $this->module->_getUrl());

$this->module->_reconfigure(['url' => 'https://www.google.com']);
$this->module->amOnSubdomain('user');
$this->assertEquals('http://user.google.com', $this->module->_getUrl());
$this->assertEquals('https://user.google.com', $this->module->_getUrl());
}

public function testOpenAbsoluteUrls()
Expand Down

0 comments on commit 70c9934

Please sign in to comment.