Skip to content

Commit

Permalink
Correcting tests again
Browse files Browse the repository at this point in the history
  • Loading branch information
niden committed Apr 21, 2021
1 parent e5f771f commit b5dd2d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/unit/Acl/Adapter/Memory/AllowCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ public function aclAdapterMemoryAllowFunctionException(UnitTester $I)
{
$errorMessage = "You did not provide any parameters when 'Guests' can " .
"'update' 'Post'. We will use default action when no arguments. " .
"at tests/unit/Acl/Adapter/Memory/AllowCest.php:332";
"at tests/unit/Acl/Adapter/Memory/AllowCest.php:334";

if (PHP_OS_FAMILY === 'Windows') {
$errorMessage = str_replace('/', '\\', $errorMessage);
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/Acl/Adapter/Memory/IsAllowedCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ public function aclAdapterMemoryIsAllowedFunctionMoreParameters(UnitTester $I)
$errorMessage = 'Number of parameters in array is higher than the ' .
'number of parameters in defined function when checking if ' .
"'Members' can 'update' 'Post'. Extra parameters will be ignored. " .
"at tests/unit/Acl/Adapter/Memory/IsAllowedCest.php:242";
"at tests/unit/Acl/Adapter/Memory/IsAllowedCest.php:244";

if (PHP_OS_FAMILY === 'Windows') {
$errorMessage = str_replace('/', '\\', $errorMessage);
Expand Down

0 comments on commit b5dd2d2

Please sign in to comment.