Skip to content

Commit 21a0ac6

Browse files
committed
tests: fix file path
1 parent e5e774c commit 21a0ac6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Commands/UserModelGeneratorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function testGenerateUserModel(): void
6161
public function testGenerateUserModelCustomNamespace(): void
6262
{
6363
command('shield:model MyUserModel --namespace CodeIgniter\\\\Shield');
64-
$filepath = VENDORPATH . 'codeigniter4/shield/src/Models/MyUserModel.php';
64+
$filepath = ROOTPATH . 'src/Models/MyUserModel.php';
6565

6666
$this->assertStringContainsString('File created: ', CITestStreamFilter::$buffer);
6767
$this->assertFileExists($filepath);

0 commit comments

Comments
 (0)