Skip to content

Commit

Permalink
Rolled back create controller script validation
Browse files Browse the repository at this point in the history
  • Loading branch information
rotimi committed Feb 2, 2024
1 parent 2102645 commit b4d18cc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/CliScriptHelperFunctionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,6 @@ public function testThatIsValidExtendsClassNameWorksAsExpected() {

self::assertTrue(\SlimMvcTools\Functions\CliHelpers\isValidExtendsClassName('SMVCTools\\Tests\\TestObjects\\ChildController'));
self::assertTrue(\SlimMvcTools\Functions\CliHelpers\isValidExtendsClassName('\\SMVCTools\\Tests\\TestObjects\\ChildController'));
self::assertFalse(\SlimMvcTools\Functions\CliHelpers\isValidExtendsClassName('SMVCTools\\Tests\\TestObjects\\NonController'));
self::assertFalse(\SlimMvcTools\Functions\CliHelpers\isValidExtendsClassName('\\SMVCTools\\Tests\\TestObjects\\NonController'));
self::assertFalse(\SlimMvcTools\Functions\CliHelpers\isValidExtendsClassName('NameSpace\\Class\\'));
self::assertFalse(\SlimMvcTools\Functions\CliHelpers\isValidExtendsClassName('\\NameSpace\\Class\\'));
self::assertFalse(\SlimMvcTools\Functions\CliHelpers\isValidExtendsClassName('-NameSpace\\Class'));
Expand Down

0 comments on commit b4d18cc

Please sign in to comment.