1
0
Fork 0
mirror of https://codeberg.org/demostf/api.git synced 2026-06-03 09:54:17 +02:00

use userprovider to get uploader data

This commit is contained in:
Robin Appelman 2020-02-03 15:04:39 +01:00
commit 9bf9721190
8 changed files with 47 additions and 17 deletions

View file

@ -30,8 +30,8 @@ class DemoProviderTest extends TestCase {
public function setUp(): void {
parent::setUp();
$this->provider = new DemoProvider($this->getDatabaseConnection());
$this->userProvider = new UserProvider($this->getDatabaseConnection(), $this->getRandomGenerator());
$this->provider = new DemoProvider($this->getDatabaseConnection(), $this->userProvider);
$this->playerProvider = new PlayerProvider($this->getDatabaseConnection());
$this->killProvider = new KillProvider($this->getDatabaseConnection());
}