Skip to content
Snippets Groups Projects
Commit b1144a98 authored by Elmar Ludwig's avatar Elmar Ludwig
Browse files

use fixed timestamp to avoid test failures, fixes #2522

Closes #2522

Merge request studip/studip!1711
parent 95aefa42
No related branches found
No related tags found
No related merge requests found
......@@ -44,6 +44,7 @@ class UserScheduleShowTest extends \Codeception\Test\Unit
$requestBuilder = $this->tester->createRequestBuilder($credentials);
$requestBuilder->setUri('/users/'.$credentials['id'].'/schedule')->fetch();
$requestBuilder->setUriQueryParam('filter[timestamp]', Semester::findOneBySQL('1')->beginn);
$response = $this->tester->sendMockRequest($app, $requestBuilder->getRequest());
$this->tester->assertTrue($response->isSuccessfulDocument([200]));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment