summaryrefslogtreecommitdiff
path: root/tests/units/LinkTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/units/LinkTest.php')
-rw-r--r--tests/units/LinkTest.php8
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));