mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-03 18:04:08 +02:00
use userprovider to get uploader data
This commit is contained in:
parent
0d803526d8
commit
9bf9721190
8 changed files with 47 additions and 17 deletions
|
|
@ -26,9 +26,9 @@ class DemoListProviderTest extends TestCase {
|
|||
parent::setUp();
|
||||
|
||||
$this->demoListProvider = new DemoListProvider($this->getDatabaseConnection());
|
||||
$this->demoProvider = new DemoProvider($this->getDatabaseConnection());
|
||||
$this->playerProvider = new PlayerProvider($this->getDatabaseConnection());
|
||||
$this->userProvider = new UserProvider($this->getDatabaseConnection(), $this->getRandomGenerator());
|
||||
$this->demoProvider = new DemoProvider($this->getDatabaseConnection(), $this->userProvider);
|
||||
$this->playerProvider = new PlayerProvider($this->getDatabaseConnection());
|
||||
}
|
||||
|
||||
private function getDemo(int $uploaderId, $map = 'map', $playerCount = 18) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue