Annotation of embedaddon/php/ext/imap/tests/imap_undelete_basic.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: imap_undelete() function : basic functionality
! 3: --CREDITS--
! 4: Olivier Doucet
! 5: --SKIPIF--
! 6: <?php
! 7: require_once(dirname(__FILE__).'/skipif.inc');
! 8: ?>
! 9: --FILE--
! 10: <?php
! 11:
! 12: require_once(dirname(__FILE__).'/imap_include.inc');
! 13: $stream_id = setup_test_mailbox('', 1);
! 14:
! 15: imap_delete($stream_id, 1);
! 16:
! 17: var_dump(imap_undelete($stream_id, 1));
! 18:
! 19: imap_close($stream_id);
! 20:
! 21: ?>
! 22: --CLEAN--
! 23: <?php
! 24: require_once('clean.inc');
! 25: ?>
! 26: --EXPECTF--
! 27: Create a temporary mailbox and add 1 msgs
! 28: .. mailbox '{%s}%s' created
! 29: bool(true)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>