mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
We don’t actually use this test?
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
4e3ccb74bc
commit
4a063d23b9
|
@ -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…
Reference in a new issue