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.
tearDown()
1 parent ee29840 commit 3047309Copy full SHA for 3047309
tests/Commands/UserModelGeneratorTest.php
@@ -85,9 +85,7 @@ public function testGenerateUserModelWithForce(): void
85
$this->assertStringContainsString('File overwritten: ', CITestStreamFilter::$buffer);
86
87
$filepath = APPPATH . 'Models/MyUserModel.php';
88
- if (is_file($filepath)) {
89
- unlink($filepath);
90
- }
+ $this->assertFileExists($filepath);
91
}
92
93
public function testGenerateUserModelWithSuffix(): void
0 commit comments