1
0
Fork 0
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:
Robin Appelman 2020-02-03 15:04:39 +01:00
commit 9bf9721190
8 changed files with 47 additions and 17 deletions

View file

@ -26,7 +26,7 @@ class DemoSaverTest extends TestCase {
$steamId2 = $this->getSteamId('2345678', 'user2');
$userProvider = new UserProvider($this->getDatabaseConnection(), $this->getRandomGenerator());
$demoProvider = new DemoProvider($this->getDatabaseConnection());
$demoProvider = new DemoProvider($this->getDatabaseConnection(), $userProvider);
$chatProvider = new ChatProvider($this->getDatabaseConnection());
$userProvider->store($steamId1);