mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00

Missed these in the zpp test purge -- they've been failing on master for a while, but nobody compiles with ldap.
16 lines
376 B
PHP
16 lines
376 B
PHP
--TEST--
|
|
ldap_rename() - Testing ldap_rename() that should fail
|
|
--CREDITS--
|
|
Patrick Allaert <patrickallaert@php.net>
|
|
# Belgian PHP Testfest 2009
|
|
--SKIPIF--
|
|
<?php require_once('skipif.inc'); ?>
|
|
--FILE--
|
|
<?php
|
|
require "connect.inc";
|
|
|
|
$link = ldap_connect($host, $port);
|
|
var_dump(ldap_rename($link, "cn=userNotFound,$base", "cn=userZ", "$base", true));
|
|
?>
|
|
--EXPECT--
|
|
bool(false)
|