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
I am just writing some integration tests that covers authorization testing. If the test fails then there is error in role settings in app. It can be handy to show info in console like:
$this->doRead($testingSubject)->assertStatus(403, 'In most cases this is wrong role settings in Bouncer');
This is only idea :).
Thanks.
The text was updated successfully, but these errors were encountered:
Hi,
in first thank you for this handy package. It saves me lot of time.
This is only question about possibility to have this feature.
As in phpunit there you can do something like:
$this->assertEquals( 5, 6, "Multiplying 2 and 3 did not return 6");
Implementation of $message variable can be seen in PHPUnit\Framework\Assert class.
source: http://www.kreamer.org/phpunit-cookbook/1.0/assertions/display-useful-message-when-test-fails
I am just writing some integration tests that covers authorization testing. If the test fails then there is error in role settings in app. It can be handy to show info in console like:
$this->doRead($testingSubject)->assertStatus(403, 'In most cases this is wrong role settings in Bouncer');
This is only idea :).
Thanks.
The text was updated successfully, but these errors were encountered: