1
0
Fork 0
mirror of https://codeberg.org/demostf/api.git synced 2026-06-03 18:04:08 +02:00
This commit is contained in:
Robin Appelman 2019-04-11 23:19:07 +02:00
commit 9543b141ab
2 changed files with 7 additions and 3 deletions

View file

@ -18,6 +18,7 @@ use Demostf\API\Providers\KillProvider;
use Demostf\API\Providers\PlayerProvider;
use Demostf\API\Providers\UserProvider;
use Demostf\API\Test\TestCase;
use Doctrine\DBAL\Connection;
class DemoSaverTest extends TestCase {
public function testSave() {
@ -76,7 +77,8 @@ class DemoSaverTest extends TestCase {
new PlayerProvider($this->getDatabaseConnection()),
$chatProvider,
$userProvider,
$demoProvider
$demoProvider,
$this->createMock(Connection::class)
);
$storedDemo = new StoredDemo('http://example.com/foo', 'foo', 'example');