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