OSDN Git Service
(root)
/
invent
/
invent.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Внесены исправления в тесты для корректной работы с контролем доступа по ролям
[invent/invent.git]
/
tests
/
functional
/
LocationsCreateCest.php
diff --git
a/tests/functional/LocationsCreateCest.php
b/tests/functional/LocationsCreateCest.php
index
ad366c0
..
fff8fc7
100644
(file)
--- a/
tests/functional/LocationsCreateCest.php
+++ b/
tests/functional/LocationsCreateCest.php
@@
-4,6
+4,7
@@
class LocationsCreateCest
{
public function _before(FunctionalTester $I)
{
+ $I->amLoggedInAs(\app\models\User::findByUsername('user'));
$I->amOnRoute('locations/create');
}