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/GetLinksTest.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/GetLinksTest.php')
-rw-r--r-- | tests/api/controllers/links/GetLinksTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/api/controllers/links/GetLinksTest.php b/tests/api/controllers/links/GetLinksTest.php index 4e2d55ac..d02e6fad 100644 --- a/tests/api/controllers/links/GetLinksTest.php +++ b/tests/api/controllers/links/GetLinksTest.php | |||
@@ -109,7 +109,7 @@ class GetLinksTest extends \PHPUnit\Framework\TestCase | |||
109 | 109 | ||
110 | // Check first element fields | 110 | // Check first element fields |
111 | $first = $data[2]; | 111 | $first = $data[2]; |
112 | $this->assertEquals('http://domain.tld/?WDWyig', $first['url']); | 112 | $this->assertEquals('http://domain.tld/shaare/WDWyig', $first['url']); |
113 | $this->assertEquals('WDWyig', $first['shorturl']); | 113 | $this->assertEquals('WDWyig', $first['shorturl']); |
114 | $this->assertEquals('Link title: @website', $first['title']); | 114 | $this->assertEquals('Link title: @website', $first['title']); |
115 | $this->assertEquals( | 115 | $this->assertEquals( |