forked from wallabag/wallabag
Some fixes about upgrade from 2.0.x -> 2.1.0
This commit is contained in:
@ -47,7 +47,7 @@ class TagControllerTest extends WallabagCoreTestCase
|
||||
|
||||
$this->assertEquals(1, count($entry->getTags()));
|
||||
|
||||
# tag already exists and already assigned
|
||||
// tag already exists and already assigned
|
||||
$client->submit($form, $data);
|
||||
$this->assertEquals(302, $client->getResponse()->getStatusCode());
|
||||
|
||||
@ -58,7 +58,7 @@ class TagControllerTest extends WallabagCoreTestCase
|
||||
|
||||
$this->assertEquals(1, count($newEntry->getTags()));
|
||||
|
||||
# tag already exists but still not assigned to this entry
|
||||
// tag already exists but still not assigned to this entry
|
||||
$data = [
|
||||
'tag[label]' => 'foo',
|
||||
];
|
||||
|
||||
@ -83,7 +83,7 @@ abstract class WallabagCoreTestCase extends WebTestCase
|
||||
|
||||
/**
|
||||
* Check if Redis is installed.
|
||||
* If not, mark test as skip
|
||||
* If not, mark test as skip.
|
||||
*/
|
||||
protected function checkRedis()
|
||||
{
|
||||
|
||||
@ -37,7 +37,7 @@ class AuthCodeMailerTest extends \PHPUnit_Framework_TestCase
|
||||
);
|
||||
$this->mailer = new \Swift_Mailer($transport);
|
||||
|
||||
$twigTemplate = <<<TWIG
|
||||
$twigTemplate = <<<'TWIG'
|
||||
{% block subject %}subject{% endblock %}
|
||||
{% block body_html %}html body {{ code }}{% endblock %}
|
||||
{% block body_text %}text body {{ support_url }}{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user