mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-01 17:38:38 +00:00
Fix Stylelint errors
This commit is contained in:
parent
5f8948d5a1
commit
e5b72f3123
17 changed files with 42 additions and 51 deletions
|
@ -591,8 +591,8 @@ class EntryControllerTest extends WallabagCoreTestCase
|
|||
|
||||
$this->assertGreaterThan(1, $title = $crawler->filter('div[id=article] h1')->extract(['_text']));
|
||||
$this->assertStringContainsString('My updated title hehe :)', $title[0]);
|
||||
$this->assertGreaterThan(1, $stats = $crawler->filter('div[class="tools grey-text"] ul[class=stats] li a[class="tool grey-text"]')->extract(['_text']));
|
||||
$this->assertStringContainsString('example.io', trim($stats[1]));
|
||||
$originUrl = $crawler->filter('[data-tests="entry-origin-url"]')->text();
|
||||
$this->assertStringContainsString('example.io', $originUrl);
|
||||
}
|
||||
|
||||
public function testEditRemoveOriginUrl()
|
||||
|
@ -626,9 +626,8 @@ class EntryControllerTest extends WallabagCoreTestCase
|
|||
$this->assertGreaterThan(1, $title);
|
||||
$this->assertStringContainsString('My updated title hehe :)', $title[0]);
|
||||
|
||||
$stats = $crawler->filter('div[class="tools grey-text"] ul[class=stats] li a[class="tool grey-text"]')->extract(['_text']);
|
||||
$this->assertCount(1, $stats);
|
||||
$this->assertStringNotContainsString('example.io', trim($stats[0]));
|
||||
$originUrl = $crawler->filter('[data-tests="entry-origin-url"]')->extract(['_text']);
|
||||
$this->assertCount(0, $originUrl);
|
||||
}
|
||||
|
||||
public function testToggleArchive()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue