diff options
Diffstat (limited to 'ext/imap/tests/imap_fetch_overview_error.phpt')
-rw-r--r-- | ext/imap/tests/imap_fetch_overview_error.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/imap/tests/imap_fetch_overview_error.phpt b/ext/imap/tests/imap_fetch_overview_error.phpt index 78510d6bd1..629535b0bf 100644 --- a/ext/imap/tests/imap_fetch_overview_error.phpt +++ b/ext/imap/tests/imap_fetch_overview_error.phpt @@ -2,7 +2,7 @@ Test imap_fetch_overview() function : error conditions - incorrect number of args --SKIPIF-- <?php -require_once(dirname(__FILE__).'/skipif.inc'); +require_once(__DIR__.'/skipif.inc'); ?> --FILE-- <?php @@ -18,7 +18,7 @@ require_once(dirname(__FILE__).'/skipif.inc'); echo "*** Testing imap_fetch_overview() : error conditions ***\n"; -require_once(dirname(__FILE__).'/imap_include.inc'); +require_once(__DIR__.'/imap_include.inc'); //Test imap_fetch_overview with one more than the expected number of arguments echo "\n-- Testing imap_fetch_overview() function with more than expected no. of arguments --\n"; @@ -35,7 +35,7 @@ var_dump( imap_fetch_overview($stream_id) ); ===DONE=== --CLEAN-- <?php -require_once(dirname(__FILE__).'/clean.inc'); +require_once(__DIR__.'/clean.inc'); ?> --EXPECTF-- *** Testing imap_fetch_overview() : error conditions *** |