diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-07-28 22:24:41 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-07-28 22:34:45 +0200 |
commit | f7f08ceec1b218e1525153e8bd3d0199f2fb1c9d (patch) | |
tree | f0c1227355b02ab931732b0b37b626f3ec9274cf /tests/api/controllers/links/GetLinkIdTest.php | |
parent | 624123177f8673f978c49186b43fd96c6827d8a0 (diff) | |
download | Shaarli-f7f08ceec1b218e1525153e8bd3d0199f2fb1c9d.tar.gz Shaarli-f7f08ceec1b218e1525153e8bd3d0199f2fb1c9d.tar.zst Shaarli-f7f08ceec1b218e1525153e8bd3d0199f2fb1c9d.zip |
Fix basePath in unit tests reference DB
Diffstat (limited to 'tests/api/controllers/links/GetLinkIdTest.php')
-rw-r--r-- | tests/api/controllers/links/GetLinkIdTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/api/controllers/links/GetLinkIdTest.php b/tests/api/controllers/links/GetLinkIdTest.php index c26411ac..8bb81dc8 100644 --- a/tests/api/controllers/links/GetLinkIdTest.php +++ b/tests/api/controllers/links/GetLinkIdTest.php | |||
@@ -102,7 +102,7 @@ class GetLinkIdTest extends \PHPUnit\Framework\TestCase | |||
102 | $this->assertEquals($id, $data['id']); | 102 | $this->assertEquals($id, $data['id']); |
103 | 103 | ||
104 | // Check link elements | 104 | // Check link elements |
105 | $this->assertEquals('http://domain.tld/?WDWyig', $data['url']); | 105 | $this->assertEquals('http://domain.tld/shaare/WDWyig', $data['url']); |
106 | $this->assertEquals('WDWyig', $data['shorturl']); | 106 | $this->assertEquals('WDWyig', $data['shorturl']); |
107 | $this->assertEquals('Link title: @website', $data['title']); | 107 | $this->assertEquals('Link title: @website', $data['title']); |
108 | $this->assertEquals( | 108 | $this->assertEquals( |