From b13095512f473ad1bd1703551b0cbeace0bc5d69 Mon Sep 17 00:00:00 2001 From: Ibrahim BinAlshikh Date: Tue, 2 Jul 2024 10:18:57 +0300 Subject: [PATCH] Update CLICommandClassWriterTest.php --- .../framework/test/writers/CLICommandClassWriterTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/webfiori/framework/test/writers/CLICommandClassWriterTest.php b/tests/webfiori/framework/test/writers/CLICommandClassWriterTest.php index 91b1eb0c..66b4b2a4 100644 --- a/tests/webfiori/framework/test/writers/CLICommandClassWriterTest.php +++ b/tests/webfiori/framework/test/writers/CLICommandClassWriterTest.php @@ -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());