Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
e16fb959
Commit
e16fb959
authored
Nov 23, 2013
by
Panagiotis Moustafellos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
indentation fix
parent
820f840c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
ManagerTestCase.php
tests/unit/framework/rbac/ManagerTestCase.php
+6
-6
No files found.
tests/unit/framework/rbac/ManagerTestCase.php
View file @
e16fb959
...
...
@@ -119,11 +119,11 @@ abstract class ManagerTestCase extends TestCase
$this
->
assertFalse
(
$this
->
auth
->
revoke
(
'author B'
,
'author'
));
}
public
function
testRevokeAll
()
{
$this
->
assertTrue
(
$this
->
auth
->
revokeAll
(
'reader E'
));
$this
->
assertFalse
(
$this
->
auth
->
isAssigned
(
'reader E'
,
'reader'
));
}
public
function
testRevokeAll
()
{
$this
->
assertTrue
(
$this
->
auth
->
revokeAll
(
'reader E'
));
$this
->
assertFalse
(
$this
->
auth
->
isAssigned
(
'reader E'
,
'reader'
));
}
public
function
testGetAssignments
()
{
...
...
@@ -258,6 +258,6 @@ abstract class ManagerTestCase extends TestCase
$this
->
auth
->
assign
(
'author B'
,
'author'
);
$this
->
auth
->
assign
(
'editor C'
,
'editor'
);
$this
->
auth
->
assign
(
'admin D'
,
'admin'
);
$this
->
auth
->
assign
(
'reader E'
,
'reader'
);
$this
->
auth
->
assign
(
'reader E'
,
'reader'
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment