Skip to content

Commit 8444bdc

Browse files
committed
Add missing unit test
1 parent 3f8f562 commit 8444bdc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/framework/tests/Feature/Foundation/FilesystemTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,11 @@ public function test_vendor_path_method_returns_string()
100100
$this->assertIsString($this->filesystem->vendorPath());
101101
}
102102

103+
public function test_vendor_path_method_returns_the_vendor_path()
104+
{
105+
$this->assertSame(Hyde::path('vendor/hyde/framework'), $this->filesystem->vendorPath());
106+
}
107+
103108
public function test_vendor_path_method_returns_qualified_file_path_when_supplied_with_argument()
104109
{
105110
$this->assertEquals($this->filesystem->vendorPath('file.php'), $this->filesystem->vendorPath().'/file.php');

0 commit comments

Comments
 (0)