From 7f41605e9313ea56c687758feafaf2e71ae7747c Mon Sep 17 00:00:00 2001 From: Ibrahim BinAlshikh Date: Tue, 29 Oct 2024 01:05:21 +0300 Subject: [PATCH] Update WebServiceTestCaseWriterTest.php --- .../framework/test/writers/WebServiceTestCaseWriterTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/webfiori/framework/test/writers/WebServiceTestCaseWriterTest.php b/tests/webfiori/framework/test/writers/WebServiceTestCaseWriterTest.php index a3115068..4f2624bd 100644 --- a/tests/webfiori/framework/test/writers/WebServiceTestCaseWriterTest.php +++ b/tests/webfiori/framework/test/writers/WebServiceTestCaseWriterTest.php @@ -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()); }