1
0
Fork 0
mirror of https://codeberg.org/demostf/api.git synced 2026-06-03 18:04:08 +02:00

expose backend and path trough api

This commit is contained in:
Robin Appelman 2017-07-15 21:46:52 +02:00
commit b588c8ce7e
5 changed files with 40 additions and 8 deletions

View file

@ -59,7 +59,9 @@ class DemoProviderTest extends TestCase {
2,
18,
$uploader->getId(),
'hash'
'hash',
'dummy',
'path'
);
$demo->setUploaderUser($uploader);
@ -112,7 +114,11 @@ class DemoProviderTest extends TestCase {
2,
18,
$uploader->getId(),
'hash'
'hash',
'backend',
'path',
'dummy',
'path'
);
$id = $this->provider->storeDemo($demo, 'dummy', 'path');