Minor - Fix test

pull/4017/head
Julio 5 years ago
parent 0f411f0ef2
commit 88779bf9de
  1. 5
      tests/CoreBundle/Repository/SessionRepositoryTest.php

@ -138,7 +138,10 @@ class SessionRepositoryTest extends AbstractApiTest
'@context' => '/api/contexts/SessionRelCourse',
'@type' => 'SessionRelCourse',
'session' => '/api/sessions/'.$session->getId(),
'course' => '/api/courses/'.$course->getId(),
'course' => [
'@type' => 'https://schema.org/Course',
'id' => $course->getId(),
],
]
);

Loading…
Cancel
Save