diff --git a/sourcecode/hub/tests/Feature/Controllers/ContentControllerTest.php b/sourcecode/hub/tests/Feature/Controllers/ContentControllerTest.php index c548bbcb1..c2ac7412e 100644 --- a/sourcecode/hub/tests/Feature/Controllers/ContentControllerTest.php +++ b/sourcecode/hub/tests/Feature/Controllers/ContentControllerTest.php @@ -123,7 +123,7 @@ public function testLtiUpdate(): void $this->assertCount(2, $versionsOnCopy); // The requested version is copied - $copiedVersion = ContentVersion::where('content_id', '=', $contentCopyId)->where('previous_version_id', '=', $toBeCopiedVersion->id)->first(); + $copiedVersion = ContentVersion::where('content_id', '=', $contentCopyId)->where('previous_version_id', '=', $toBeCopiedVersion->id)->first(); $this->assertNotNull($copiedVersion); $this->assertNotEmpty($toBeCopiedVersion->title); $this->assertStringStartsWith($toBeCopiedVersion->title, $copiedVersion->title);