summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Burschka2012-11-03 01:41:55 +0100
committerChristoph Burschka2012-11-03 01:41:55 +0100
commit4b7594b1770bd76bdba4c4cff5e31c0291d48582 (patch)
tree10b2b0a5a9ea6fd3719d877e9d143d3eef1178a6
parentKeep unsuccessful test output for debugging. (diff)
downloadejabberd-auth-php-4b7594b1770bd76bdba4c4cff5e31c0291d48582.tar.gz
Send server parameter in isuser command.
-rw-r--r--tests/test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test.php b/tests/test.php
index a6d6c16..ec6d35b 100644
--- a/tests/test.php
+++ b/tests/test.php
@@ -7,8 +7,8 @@ fwrite($stderr, "Enter the password: ");
$password = trim(fgets($in));
$str = array(
- array('isuser', $user),
- array('isuser', '123456789'),
+ array('isuser', $user, 'localhost'),
+ array('isuser', '123456789', 'localhost'),
array('auth', $user, 'localhost', $password),
array('auth', $user, 'localhost', '123456789'),