We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d476f6a commit 3f94077Copy full SHA for 3f94077
packages/framework/tests/Feature/HydeServiceProviderTest.php
@@ -57,10 +57,11 @@ public function test_provider_has_boot_method()
57
$this->assertTrue(method_exists($this->provider, 'boot'));
58
}
59
60
- public function test_provider_registers_asset_service()
+ public function test_provider_registers_asset_service_as_singleton()
61
{
62
$this->assertTrue($this->app->bound(AssetService::class));
63
$this->assertInstanceOf(AssetService::class, $this->app->make(AssetService::class));
64
+ $this->assertSame($this->app->make(AssetService::class), $this->app->make(AssetService::class));
65
66
67
public function test_provider_registers_source_directories()
0 commit comments