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:
parent
0d803526d8
commit
9bf9721190
8 changed files with 47 additions and 17 deletions
|
|
@ -74,7 +74,7 @@ class UploadProviderTest extends TestCase {
|
|||
$this->parser = new Parser($this->rawParser);
|
||||
$this->demoStore = new DemoStore($targetDir, 'example.com');
|
||||
$this->userProvider = new UserProvider($this->getDatabaseConnection(), $this->getRandomGenerator());
|
||||
$this->demoProvider = new DemoProvider($this->getDatabaseConnection());
|
||||
$this->demoProvider = new DemoProvider($this->getDatabaseConnection(), $this->userProvider);
|
||||
$this->demoSaver = new DemoSaver(
|
||||
new KillProvider($this->getDatabaseConnection()),
|
||||
new PlayerProvider($this->getDatabaseConnection()),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue