mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
fixed factory and test
This commit is contained in:
parent
f050864fb4
commit
3f3f2bfc61
|
@ -14,7 +14,7 @@ class LicenseSeatFactory extends Factory
|
|||
{
|
||||
return [
|
||||
'license_id' => License::factory(),
|
||||
'dead' => false,
|
||||
'unassignable' => false,
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ class LicenseCheckinTest extends TestCase
|
|||
|
||||
$licenseSeat->refresh();
|
||||
|
||||
$this->assertEquals(1, $licenseSeat->dead);
|
||||
$this->assertEquals(1, $licenseSeat->unassignable);
|
||||
}
|
||||
|
||||
public function testCannotCheckinLicenseThatIsNotAssigned()
|
||||
|
|
Loading…
Reference in a new issue