mirror of
https://github.com/flarum/core.git
synced 2025-08-11 19:04:29 +02:00
Tests: Rely on admin user, groups, permissions from test setup script
This commit is contained in:
committed by
Alexander Skvortsov
parent
a47187462d
commit
a08fd3e475
@@ -24,15 +24,6 @@ class EventTest extends TestCase
|
||||
|
||||
protected function buildGroup()
|
||||
{
|
||||
$this->prepareDatabase([
|
||||
'groups' => [
|
||||
$this->adminGroup(),
|
||||
],
|
||||
'users' => [
|
||||
$this->adminUser(),
|
||||
],
|
||||
]);
|
||||
|
||||
$bus = $this->app()->getContainer()->make(Dispatcher::class);
|
||||
|
||||
return $bus->dispatch(
|
||||
|
Reference in New Issue
Block a user