Issue #2646766 by neclimdul: TwigSandboxTest::testExtendedClass() doen't test anything
parent
991bb0856b
commit
c9ee3b52b9
|
@ -69,7 +69,7 @@ class TwigSandboxTest extends UnitTestCase {
|
||||||
* Tests that white listed classes can be extended.
|
* Tests that white listed classes can be extended.
|
||||||
*/
|
*/
|
||||||
public function testExtendedClass() {
|
public function testExtendedClass() {
|
||||||
$this->twig->render('{{ attribute.addClass("kitten") }}', ['attribute' => new TestAttribute()]);
|
$this->assertEquals(' class="kitten"', $this->twig->render('{{ attribute.addClass("kitten") }}', ['attribute' => new TestAttribute()]));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue