Skip to content

Commit 597e9c6

Browse files
committed
tests: updated latte
1 parent 891dd7d commit 597e9c6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"nette/forms": "^3.0",
3232
"nette/robot-loader": "^3.2",
3333
"nette/security": "^3.0",
34-
"latte/latte": "^2.9.1",
34+
"latte/latte": "^2.10",
3535
"tracy/tracy": "^2.6",
3636
"mockery/mockery": "^1.0",
3737
"phpstan/phpstan-nette": "^0.12"

tests/Bridges.Latte/UIMacros.control.3.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ $latte->addProvider('uiControl', new class {
3030

3131
Assert::exception(function () use ($latte) {
3232
$latte->renderToString('<div {control x}');
33-
}, Latte\CompileException::class, 'Filters: unable to convert content type HTML to HTMLTAG');
33+
}, Latte\RuntimeException::class, 'Filters: unable to convert content type HTML to HTMLTAG');
3434

3535
Assert::same(
3636
'<div title="&lt;&gt;&amp;">',
@@ -39,4 +39,4 @@ Assert::same(
3939

4040
Assert::exception(function () use ($latte) {
4141
$latte->renderToString('<style> {control x} </style>');
42-
}, Latte\CompileException::class, 'Filters: unable to convert content type HTML to HTMLCSS');
42+
}, Latte\RuntimeException::class, 'Filters: unable to convert content type HTML to HTMLCSS');

0 commit comments

Comments
 (0)