We don’t actually use this test?
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
4e3ccb74bc
commit
4a063d23b9
1 changed files with 0 additions and 6 deletions
|
@ -13,12 +13,6 @@ class CustomFieldTest extends TestCase
|
|||
public function testFormat()
|
||||
{
|
||||
$customfield = CustomField::factory()->make(['format' => 'IP']);
|
||||
$values = [
|
||||
'name' => $customfield->name,
|
||||
'format' => $customfield->format,
|
||||
'element' => $customfield->element,
|
||||
];
|
||||
|
||||
$this->assertEquals($customfield->getAttributes()['format'], CustomField::PREDEFINED_FORMATS['IP']); //this seems undocumented...
|
||||
$this->assertEquals($customfield->format, 'IP');
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue