mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 14:18:27 +01:00
Fixes validator test
This commit is contained in:
parent
0095428de9
commit
aeb397d03d
@ -32,8 +32,9 @@ class ContentContainerTest extends ContentModelTest
|
|||||||
$contentContainer = new ContentContainer(['guid' => 'xyz']);
|
$contentContainer = new ContentContainer(['guid' => 'xyz']);
|
||||||
$contentContainer->setPolymorphicRelation($user);
|
$contentContainer->setPolymorphicRelation($user);
|
||||||
|
|
||||||
|
|
||||||
$this->assertFalse($contentContainer->save());
|
$this->assertFalse($contentContainer->save());
|
||||||
$this->assertNotEmpty($contentContainer->getErrors('class'));
|
$this->assertNotEmpty($contentContainer->getErrors('pk'));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testGuidRequired()
|
public function testGuidRequired()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user