Skip to content

Commit

Permalink
Reorder to group tests
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Jul 26, 2024
1 parent 7f773b3 commit 4fa420c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/framework/tests/Feature/HelpersTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,17 +82,17 @@ public function testAssetFunctionWithQualifiedUrl()
}

/** @covers ::asset */
public function testAssetFunctionWithSetBaseUrl()
public function testAssetFunctionWithExternalUrl()
{
$this->app['config']->set(['hyde.url' => 'https://example.com']);
$this->assertSame('https://example.com/media/foo', asset('foo'));
$this->assertSame('https://example.com/foo', asset('https://example.com/foo'));
$this->assertSame('https://example.com/foo', asset('https://example.com/foo'));
}

/** @covers ::asset */
public function testAssetFunctionWithExternalUrl()
public function testAssetFunctionWithSetBaseUrl()
{
$this->assertSame('https://example.com/foo', asset('https://example.com/foo'));
$this->assertSame('https://example.com/foo', asset('https://example.com/foo'));
$this->app['config']->set(['hyde.url' => 'https://example.com']);
$this->assertSame('https://example.com/media/foo', asset('foo'));
}

/** @covers ::asset */
Expand Down

0 comments on commit 4fa420c

Please sign in to comment.