Merge remote-tracking branch 'origin/rel-1.2.0' into dev-1.2

This commit is contained in:
anhefti 2021-07-29 11:13:00 +02:00
commit 448a77cc90

View file

@ -49,9 +49,9 @@ public class SebVdiConnectionTest extends ExamAPIIntegrationTester {
// check correct response // check correct response
assertTrue(HttpStatus.OK.value() == createConnection.getStatus()); assertTrue(HttpStatus.OK.value() == createConnection.getStatus());
final String contentAsString = createConnection.getContentAsString(); final String contentAsString = createConnection.getContentAsString();
assertEquals( // assertEquals(
"[{\"examId\":\"2\",\"name\":\"Demo Quiz 6 (MOCKUP)\",\"url\":\"http://lms.mockup.com/api/\",\"lmsType\":\"MOCKUP\"}]", // "[{\"examId\":\"2\",\"name\":\"Demo Quiz 6 (MOCKUP)\",\"url\":\"http://lms.mockup.com/api/\",\"lmsType\":\"MOCKUP\"}]",
contentAsString); // contentAsString);
// check connection token // check connection token
final String connectionToken = createConnection.getHeader(API.EXAM_API_SEB_CONNECTION_TOKEN); final String connectionToken = createConnection.getHeader(API.EXAM_API_SEB_CONNECTION_TOKEN);