projects
/
fusionforge
/
fusionforge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
70ca99a
)
Non-regression test for [#265]
author
Roland Mas
<lolando@debian.org>
Fri, 8 Apr 2011 14:01:46 +0000
(14:01 +0000)
committer
Roland Mas
<lolando@debian.org>
Fri, 8 Apr 2011 14:01:46 +0000
(14:01 +0000)
tests/func/RBAC/rbacTest.php
patch
|
blob
|
history
diff --git
a/tests/func/RBAC/rbacTest.php
b/tests/func/RBAC/rbacTest.php
index 433699f6ce1de2124c3cf195adec207a171502db..1566a693fc0d00983c71c21edb4427ad284b4a2f 100644
(file)
--- a/
tests/func/RBAC/rbacTest.php
+++ b/
tests/func/RBAC/rbacTest.php
@@
-202,10
+202,14
@@
class RBAC extends FForge_SeleniumTestCase
$this->waitForPageToLoad("30000");
$this->assertTrue ($this->isTextPresent("First TotoNews")) ;
$this->waitForPageToLoad("30000");
$this->assertTrue ($this->isTextPresent("First TotoNews")) ;
+ // Non-regression test for #265
$this->logout();
$this->open( ROOT ) ;
$this->waitForPageToLoad("30000");
$this->assertTrue ($this->isTextPresent("First TotoNews")) ;
$this->logout();
$this->open( ROOT ) ;
$this->waitForPageToLoad("30000");
$this->assertTrue ($this->isTextPresent("First TotoNews")) ;
+ $this->click("link=First TotoNews") ;
+ $this->waitForPageToLoad("30000");
+ $this->assertFalse ($this->isPermissionDenied()) ;
}
function testProjectRolesAndPermissions()
}
function testProjectRolesAndPermissions()