Skip to content

Commit

Permalink
Merge pull request #1726 from sjinks/tests
Browse files Browse the repository at this point in the history
[1.3.0] Test case for #1683
  • Loading branch information
Phalcon committed Dec 23, 2013
2 parents 4d3a08e + a002ea8 commit 2d1001b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions ext/tests/issue-1683.phpt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
--TEST--
Phalcon\Debug - Notice: Array to string conversion in Unknown on line 0 - https://github.com/phalcon/cphalcon/issues/1683
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
<?php
error_reporting(E_ALL);

$debug = new \Phalcon\Debug();
$debug->listen();

throw new \Exception();
?>
--EXPECTREGEX--
^<html><head>.*$

0 comments on commit 2d1001b

Please sign in to comment.