diff options
Diffstat (limited to 'tests/units')
-rw-r--r-- | tests/units/LinkTest.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/units/LinkTest.php b/tests/units/LinkTest.php index 076e1b3b..45e9796c 100644 --- a/tests/units/LinkTest.php +++ b/tests/units/LinkTest.php @@ -10,9 +10,9 @@ class LinkTest extends Base { $l = new Link($this->container); - $this->assertTrue($l->create('Link A')); + $this->assertNotFalse($l->create('Link A')); $this->assertFalse($l->create('Link A')); - $this->assertTrue($l->create('Link B', 'Link C')); + $this->assertNotFalse($l->create('Link B', 'Link C')); $links = $l->getAll(); $this->assertNotEmpty($links); @@ -40,8 +40,8 @@ class LinkTest extends Base { $l = new Link($this->container); - $this->assertTrue($l->create('Link A')); - $this->assertTrue($l->create('Link B', 'Link C')); + $this->assertNotFalse($l->create('Link A')); + $this->assertNotFalse($l->create('Link B', 'Link C')); $this->assertEquals(1, $l->getOppositeLinkId(1)); $this->assertEquals(3, $l->getOppositeLinkId(2)); |