1
0
Fork 0
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:
Simounet 2023-06-06 22:53:56 +02:00
parent 5f8948d5a1
commit e5b72f3123
No known key found for this signature in database
GPG key ID: 77D3B7DC794EB770
17 changed files with 42 additions and 51 deletions

View file

@ -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()