Skip to content
Browse files

Merge branch 'FixTestsAfterWeightRemoved'

  • Loading branch information...
2 parents 6fc0aee + 3c7aa25 commit 3cd8abe985cb3296d3cabe3d29dc3662683475ad Mitch Hagstrand committed Jan 30, 2013
Showing with 6 additions and 18 deletions.
  1. +1 −3 tests/bug_16084.phpt
  2. +4 −12 tests/getserverlist.phpt
  3. +1 −3 tests/invoke_callback.phpt
View
4 tests/bug_16084.phpt
@@ -13,12 +13,10 @@ var_dump($m->getServerList());
bool(true)
array(1) {
[0]=>
- array(3) {
+ array(2) {
["host"]=>
string(9) "localhost"
["port"]=>
int(11211)
- ["weight"]=>
- int(3)
}
}
View
16 tests/getserverlist.phpt
@@ -20,43 +20,35 @@ array(0) {
}
array(1) {
[0]=>
- array(3) {
+ array(2) {
["host"]=>
string(9) "localhost"
["port"]=>
int(11211)
- ["weight"]=>
- int(3)
}
}
array(2) {
[0]=>
- array(3) {
+ array(2) {
["host"]=>
string(9) "localhost"
["port"]=>
int(11211)
- ["weight"]=>
- int(3)
}
[1]=>
- array(3) {
+ array(2) {
["host"]=>
string(9) "localhost"
["port"]=>
int(11211)
- ["weight"]=>
- int(3)
}
}
array(1) {
[0]=>
- array(3) {
+ array(2) {
["host"]=>
string(9) "127.0.0.1"
["port"]=>
int(11211)
- ["weight"]=>
- int(%r[01]%r)
}
}
View
4 tests/invoke_callback.phpt
@@ -19,13 +19,11 @@ echo "OK\n";
--EXPECTF--
array(1) {
[0]=>
- array(3) {
+ array(2) {
["host"]=>
string(9) "127.0.0.1"
["port"]=>
int(11211)
- ["weight"]=>
- int(%r[01]%r)
}
}
OK

0 comments on commit 3cd8abe

Please sign in to comment.
Something went wrong with that request. Please try again.