mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-17 05:28:18 +01:00
Use assertClassNotHasAttribute
This commit is contained in:
parent
937ec73df7
commit
f618dd666c
@ -23,6 +23,6 @@ class InviteTest extends AbstractTestCase
|
||||
{
|
||||
public function testValidation()
|
||||
{
|
||||
$this->assertFalse(property_exists(new Invite(), 'rules'));
|
||||
$this->assertClassNotHasAttribute('rules', Invite::class);
|
||||
}
|
||||
}
|
||||
|
@ -23,6 +23,6 @@ class SettingTest extends AbstractTestCase
|
||||
{
|
||||
public function testValidation()
|
||||
{
|
||||
$this->assertFalse(property_exists(new Setting(), 'rules'));
|
||||
$this->assertClassNotHasAttribute('rules', Setting::class);
|
||||
}
|
||||
}
|
||||
|
@ -23,6 +23,6 @@ class TagTest extends AbstractTestCase
|
||||
{
|
||||
public function testValidation()
|
||||
{
|
||||
$this->assertFalse(property_exists(new Tag(), 'rules'));
|
||||
$this->assertClassNotHasAttribute('rules', Tag::class);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user