Skip to content

Commit

Permalink
Update CLICommandClassWriterTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
usernane committed Jul 2, 2024
1 parent 82c7a88 commit b130955
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ public function test01() {
$this->assertEquals('Lets-Do-It', $writer->getCommandName());
$this->assertFalse($writer->setClassName('Invalid Name'));
$this->assertFalse($writer->setClassName(' '));
$this->assertTrue($writer->setClassName('DoItCommand'));
$this->assertEquals('DoItCommand', $writer->getName());
$this->assertEquals(ROOT_PATH.DS.APP_DIR.DS.'commands'.DS.'DoItCommand.php', $writer->getAbsolutePath());
$this->assertTrue($writer->setClassName('DoItXCommand'));
$this->assertEquals('DoItXCommand', $writer->getName());
$this->assertEquals(ROOT_PATH.DS.APP_DIR.DS.'commands'.DS.'DoItXCommand.php', $writer->getAbsolutePath());
$this->assertEquals('app\\commands', $writer->getNamespace());
$this->assertEquals('Lets-Do-It', $writer->getCommandName());
$this->assertEquals('', $writer->getDescription());
Expand Down

0 comments on commit b130955

Please sign in to comment.