Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.3.0] Fix #1413 #1420

Merged
merged 2 commits into from Oct 23, 2013
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Test case for #1413
(cherry picked from commit 1c198a6)
  • Loading branch information
sjinks committed Oct 22, 2013
commit a295c79cb5f707f1893a2e9831cc2aeaae1243dc
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