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.
HOMEPATH
1 parent 21a0ac6 commit 6e8fa2cCopy full SHA for 6e8fa2c
tests/Commands/UserModelGeneratorTest.php
@@ -61,7 +61,7 @@ public function testGenerateUserModel(): void
61
public function testGenerateUserModelCustomNamespace(): void
62
{
63
command('shield:model MyUserModel --namespace CodeIgniter\\\\Shield');
64
- $filepath = ROOTPATH . 'src/Models/MyUserModel.php';
+ $filepath = HOMEPATH . 'src/Models/MyUserModel.php';
65
66
$this->assertStringContainsString('File created: ', CITestStreamFilter::$buffer);
67
$this->assertFileExists($filepath);
0 commit comments