mirror of
https://github.com/flarum/framework.git
synced 2025-01-19 18:12:59 +08:00
Tests: Add missing instantiation of data
This commit is contained in:
parent
c1aa1455d3
commit
fd79a14cac
|
@ -18,6 +18,20 @@ class CreateTest extends TestCase
|
|||
{
|
||||
use RetrievesAuthorizedUsers;
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$this->prepareDatabase([
|
||||
'users' => [
|
||||
$this->normalUser(),
|
||||
]
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* @test
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue
Block a user