Problem with HTTP Feature Testing - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: Problem with HTTP Feature Testing (/showthread.php?tid=74802) |
Problem with HTTP Feature Testing - Poetawd - 11-07-2019 Hello All ! I found a really annoying problem... I don´t know if it is a BUG or a problem with my code. I followed everything from the manual and made the following code : PHP Code: <?php namespace App\CI4\Controllers; For this example my "Home" controller is located at app/i/page/Home.php and it is acessible using the URL http://localhost:8080/i/page/home/index The problem is when running multiple tests ! Only the first one validates ! Just the first one. If I change the methods order, the first one will pass, the others wont. Weird right ? Code: There were 2 errors: And If I change the order of the methods I have: Code: There were 2 errors: RE: Problem with HTTP Feature Testing - Poetawd - 11-07-2019 By the way... It works just fine if the Home.php controller is under the "Controller" folder.... |