Welcome Guest, Not a member yet? Register   Sign In
Problems with Unit Testing
#3

i found an opportunity to test it in a subfolder

change:
framework/system/Test/FeatureTestTrait.php
Line 310
$uri    = new URI(rtrim($config->baseURL, '/') . '/' . trim($path, '/ '));
to
$uri    = new URI('/' . trim($path, '/ '));

now you it is posible to test in subfolders

 Smile
Reply


Messages In This Thread
Problems with Unit Testing - by pilly100 - 04-16-2021, 05:54 PM
RE: Problems with Unit Testing - by pilly100 - 04-17-2021, 09:16 AM
RE: Problems with Unit Testing - by pilly100 - 04-19-2021, 02:24 PM



Theme © iAndrew 2016 - Forum software by © MyBB