You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run PHPUnit from a broker the system always throws the following error:
<?phpnamespaceTests\Unit;
useTests\TestCase;
useIlluminate\Foundation\Testing\RefreshDatabase;
class ExampleTest extends TestCase
{
/** * A basic test example. * * @return void */publicfunctiontestBasicTest()
{
$this->assertTrue(true);
}
}
PHPUnit 7.5.6 by Sebastian Bergmann and contributors.
.F 2/2 (100%)
Time: 160 ms, Memory: 18.00 MB
There was 1 failure:
1) Tests \ Feature \ ExampleTest :: testBasicTest
Expected status code 200 but received 307.
Failed asserting that false is true.
I think the system tries to redirect to the server from the broker and that's why it gives error 307.
Any idea how to fix it?
The text was updated successfully, but these errors were encountered:
When I run PHPUnit from a broker the system always throws the following error:
I think the system tries to redirect to the server from the broker and that's why it gives error 307.
Any idea how to fix it?
The text was updated successfully, but these errors were encountered: