Commit 219a7061df42a1593fc0f3959eddc9a3d54496ab
Really corrected repo.php unit test.
I inserted a right with right_id set, but not present in database!
Seems another test is messing with the state.
Author: Catalin(ux) M. BOIE
Author date (UTC): 2015-07-14 04:25
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2015-07-14 04:25
Parent(s): b3657cb073291681e8e3fd6ec9523bf550081d8e
Signing key:
Tree: 208730411397839c3a7ccd5879ad98edfda00b30
File tests/repo.php changed (mode: 100644) (index 93ff574..61a3a18) |
... |
... |
if ($r === FALSE) { |
160 |
160 |
|
|
161 |
161 |
rg_log("test giving rights"); |
rg_log("test giving rights"); |
162 |
162 |
$a = array(); |
$a = array(); |
163 |
|
$a['right_id'] = 100; |
|
|
163 |
|
$a['right_id'] = 0; |
164 |
164 |
$a['obj_id'] = $ri['repo_id']; |
$a['obj_id'] = $ri['repo_id']; |
165 |
165 |
$a['who'] = 400; |
$a['who'] = 400; |
166 |
166 |
$a['uid'] = 10; |
$a['uid'] = 10; |