Skip to content

Commit

Permalink
Update WebServiceTestCaseWriterTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
usernane committed Oct 28, 2024
1 parent 497b957 commit 7f41605
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ public function test01() {
$w->setPath(ROOT_PATH.DS.'tests'.DS.'cool');
$this->assertEquals('tests\\cool\\CoolTest', $w->getName(true));
$w->writeClass();
$this->assertTrue(file_exists($w->getAbsolutePath()));
require_once $w->getAbsolutePath();
$this->assertTrue(class_exists('\\'.$w->getName(true)));
$this->removeClass($w->getAbsolutePath());
}
Expand Down

0 comments on commit 7f41605

Please sign in to comment.