]>
BookStack Code Mirror - bookstack/blobdiff - tests/Permissions/EntityPermissionsTest.php
projects
/
bookstack
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Quick run through of applying new test entity helper class
[bookstack]
/
tests
/
Permissions
/
EntityPermissionsTest.php
diff --git
a/tests/Permissions/EntityPermissionsTest.php
b/tests/Permissions/EntityPermissionsTest.php
index 9312b88cfa0d24ce8ab9f2c1920824256bf330c7..7f91e7887b96887a610cfcff59c354b16f1c8f4c 100644
(file)
--- a/
tests/Permissions/EntityPermissionsTest.php
+++ b/
tests/Permissions/EntityPermissionsTest.php
@@
-13,15
+13,8
@@
use Tests\TestCase;
class EntityPermissionsTest extends TestCase
{
- /**
- * @var User
- */
- protected $user;
-
- /**
- * @var User
- */
- protected $viewer;
+ protected User $user;
+ protected User $viewer;
protected function setUp(): void
{