Alexander Skvortsov
2c3e1f9923
Use flarum/testing for test infrastructure ( #2545 )
2021-03-07 16:32:41 -05:00
Alexander Skvortsov
0a8816938a
Add @inheritDoc to all setUp and tearDown methods
2021-01-09 00:35:55 -05:00
Franz Liedke
a08fd3e475
Tests: Rely on admin user, groups, permissions from test setup script
2021-01-07 17:34:06 -05:00
Franz Liedke
a9470b463f
Make two more tests compatible with PHPUnit 8
2020-05-07 09:18:04 +02:00
Alexander Skvortsov
6e8884f190
Implement hidden permission groups ( #2129 )
...
Only users that have the new `viewHiddenGroups` permissions will be able to see these groups.
You might want this when you want to give certain users special permissions, but don't want to make your authorization scheme public to regular users.
Co-authored-by: luceos <daniel+github@klabbers.email>
2020-04-21 17:49:53 +02:00
Franz Liedke
9ae8bcdffe
Make tests compatible with PHPUnit 8
2020-03-28 11:06:47 +01:00
Franz Liedke
02e72f4b03
Rename API tests for more consistency
...
I could not come up with a noun for the new "UpdateTest" for users, so
this is easier in terms of consistency.
2020-03-27 13:22:27 +01:00
Franz Liedke
e3f1e69748
Convert more controller tests to request tests
2020-03-27 13:21:10 +01:00