Skip to content

Commit 3f94077

Browse files
committed
Increase test specificity
1 parent d476f6a commit 3f94077

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/framework/tests/Feature/HydeServiceProviderTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,11 @@ public function test_provider_has_boot_method()
5757
$this->assertTrue(method_exists($this->provider, 'boot'));
5858
}
5959

60-
public function test_provider_registers_asset_service()
60+
public function test_provider_registers_asset_service_as_singleton()
6161
{
6262
$this->assertTrue($this->app->bound(AssetService::class));
6363
$this->assertInstanceOf(AssetService::class, $this->app->make(AssetService::class));
64+
$this->assertSame($this->app->make(AssetService::class), $this->app->make(AssetService::class));
6465
}
6566

6667
public function test_provider_registers_source_directories()

0 commit comments

Comments
 (0)