Some fixes about upgrade from 2.0.x -> 2.1.0

This commit is contained in:
Nicolas Lœuillet
2016-09-28 10:02:31 +02:00
parent 92fa168344
commit 084fb0d303
11 changed files with 22 additions and 11 deletions

View File

@ -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',
];

View File

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

View File

@ -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 %}