✅ Some more work on unit tests.
Some small improvements for coverage report. Add more functions from include/text.php Update composer dev libraries for phpunit.
This commit is contained in:
@@ -57,7 +57,7 @@ class PermissionsTest extends UnitTestCase {
|
||||
[],
|
||||
['perm1' => 0, 'perm2' => 0]
|
||||
],
|
||||
'valild' => [
|
||||
'valid' => [
|
||||
[['perm1' => 1]],
|
||||
['perm1' => 1, 'perm2' => 0]
|
||||
]
|
||||
@@ -145,4 +145,4 @@ class PermissionsTest extends UnitTestCase {
|
||||
]
|
||||
];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user