Skip to content

Commit

Permalink
#17191: improved ensureScheme tests readability
Browse files Browse the repository at this point in the history
  • Loading branch information
ggh2e3 committed Dec 3, 2023
1 parent d45c1cc commit 005a9c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/framework/helpers/BaseUrlTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ public function testIsRelativeWillReturnFalse($url)
}

/** @dataProvider ensureSchemeUrlProvider */
public function testEnsureScheme()
public function testEnsureScheme($url, $scheme, $expected)
{

$this->assertEquals($expected, BaseUrl::ensureScheme($url, $scheme));
}

public function ensureSchemeUrlProvider()
Expand Down

0 comments on commit 005a9c7

Please sign in to comment.