@@ -57,7 +57,7 @@ public function testCreateAPITestCase01() {
5757 $ this ->assertTrue (file_exists ($ path .DS .'TasksLoginServiceTest.php ' ));
5858 require_once $ path .DS .'TasksLoginServiceTest.php ' ;
5959 $ this ->assertTrue (class_exists ($ clazz ));
60- $ this ->removeClass ($ clazz );
60+ $ this ->removeClass (' tests \\ WebFiori \\ Framework \\ Scheduler \\ WebServices \\ TasksLoginServiceTest ' );
6161 }
6262 /**
6363 * @test
@@ -78,7 +78,7 @@ public function testCreateAPITestCase02() {
7878 $ this ->assertTrue (file_exists ($ path .DS .'GetTasksServiceTest.php ' ));
7979 require_once $ path .DS .'GetTasksServiceTest.php ' ;
8080 $ this ->assertTrue (class_exists ($ clazz ));
81- $ this ->removeClass ($ clazz );
81+ $ this ->removeClass (' tests \\ WebFiori \\ Framework \\ Scheduler \\ WebServices \\ GetTasksServiceTest ' );
8282 }
8383 /**
8484 * @test
@@ -114,7 +114,7 @@ public function testCreateAPITestCase03() {
114114 $ this ->assertTrue (file_exists ($ path .DS .'GetTasksServiceTest.php ' ));
115115 require_once $ path .DS .'GetTasksServiceTest.php ' ;
116116 $ this ->assertTrue (class_exists ($ clazz ));
117- $ this ->removeClass ($ path . DS . $ name );
117+ $ this ->removeClass (' tests \\ WebFiori \\ Framework \\ Scheduler \\ WebServices \\ GetTasksServiceTest ' );
118118 }
119119 /**
120120 * @test
@@ -150,7 +150,7 @@ public function testCreateAPITestCase04() {
150150 $ this ->assertTrue (file_exists ($ path .DS .$ name .'.php ' ));
151151 require_once $ path .DS .$ name .'.php ' ;
152152 $ this ->assertTrue (class_exists ($ clazz ));
153- $ this ->removeClass ($ path . DS .$ name );
153+ $ this ->removeClass (' tests \\ Apis \\ Multiple \\' .$ name );
154154 }
155155
156156 /**
@@ -202,7 +202,7 @@ public function testCreateAPITestCase06() {
202202 $ this ->assertTrue (file_exists ($ path .DS .'WebService00Test.php ' ));
203203 require_once $ path .DS .$ name .'.php ' ;
204204 $ this ->assertTrue (class_exists ($ clazz ));
205- $ this ->removeClass ($ path . DS .$ name );
205+ $ this ->removeClass (' tests \\ Apis \\ Multiple \\' .$ name );
206206 }
207207 /**
208208 * @test
@@ -237,6 +237,6 @@ public function testCreateAPITestCase08() {
237237 $ this ->assertTrue (file_exists ($ path .DS .$ name .'.php ' ));
238238 require_once $ path .DS .$ name .'.php ' ;
239239 $ this ->assertTrue (class_exists ($ clazz ));
240- $ this ->removeClass ($ path . DS .$ name );
240+ $ this ->removeClass (' tests \\ Apis \\ Multiple \\' .$ name );
241241 }
242242}
0 commit comments