mirror of
https://github.com/wallabag/wallabag.git
synced 2025-06-27 16:36:00 +00:00
Fix tests
This commit is contained in:
parent
c4f615e711
commit
5db128a071
2 changed files with 2 additions and 2 deletions
|
@ -1130,7 +1130,7 @@ class ConfigControllerTest extends WallabagTestCase
|
||||||
|
|
||||||
$this->assertSame(400, $client->getResponse()->getStatusCode());
|
$this->assertSame(400, $client->getResponse()->getStatusCode());
|
||||||
$this->assertGreaterThan(1, $body = $crawler->filter('body')->extract(['_text']));
|
$this->assertGreaterThan(1, $body = $crawler->filter('body')->extract(['_text']));
|
||||||
$this->assertStringContainsString('Bad CSRF token.', $body[0]);
|
$this->assertStringContainsString('400: Bad Request', $body[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testChangeLocaleWithReferer()
|
public function testChangeLocaleWithReferer()
|
||||||
|
|
|
@ -732,7 +732,7 @@ class EntryControllerTest extends WallabagTestCase
|
||||||
|
|
||||||
$this->assertSame(400, $client->getResponse()->getStatusCode());
|
$this->assertSame(400, $client->getResponse()->getStatusCode());
|
||||||
$this->assertGreaterThan(1, $body = $crawler->filter('body')->extract(['_text']));
|
$this->assertGreaterThan(1, $body = $crawler->filter('body')->extract(['_text']));
|
||||||
$this->assertStringContainsString('Bad CSRF token.', $body[0]);
|
$this->assertStringContainsString('400: Bad Request', $body[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue