Skip to content

Commit

Permalink
Test case for #1413
Browse files Browse the repository at this point in the history
  • Loading branch information
sjinks committed Oct 22, 2013
1 parent faf66ef commit 1c198a6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ext/tests/issue-1413.phpt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--TEST--
Phalcon\Forms\Element::toString() throws exceptions - https://github.com/phalcon/cphalcon/issues/1413
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
<?php
$e = new \Phalcon\Forms\Element\Text('name', array('value' => '&&&'));
echo $e, PHP_EOL;
?>
--EXPECTF--
Fatal error: A dependency injector container is required to obtain the "escaper" service in %s on line %d

0 comments on commit 1c198a6

Please sign in to comment.