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 fc912e2 commit 2fb3c7aCopy full SHA for 2fb3c7a
tests/Attributes/UsesVendorTest.php
@@ -2,6 +2,7 @@
2
3
namespace Orchestra\Testbench\Tests\Attributes;
4
5
+use Illuminate\Contracts\Config\Repository as ConfigRepositoryContract;
6
use Illuminate\Filesystem\Filesystem;
7
use Orchestra\Testbench\Attributes\UsesVendor;
8
use Orchestra\Testbench\Tests\TestCase;
@@ -22,4 +23,13 @@ public function it_can_uses_vendor_attribute()
22
23
$filesystem->hash(package_path('vendor', 'autoload.php'))
24
);
25
}
26
+
27
+ /** @test */
28
+ #[UsesVendor]
29
+ public function it_can_uses_config_from_attribute()
30
+ {
31
+ tap($this->app->make('config'), function ($repository) {
32
+ $this->assertInstanceOf(ConfigRepositoryContract::class, $repository);
33
+ });
34
+ }
35
0 commit comments