Skip to content

Commit a3fc006

Browse files
committed
issue #36
1 parent cbfd43e commit a3fc006

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

smoketest.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,8 +442,10 @@ function info($msg,$p1=NULL,$p2=NULL,$p3=NULL,$p4=NULL,$p5=NULL) {
442442

443443
step('List database instances');
444444
$dblist = $dbaas->InstanceList();
445-
while($dbitem = $dblist->Next())
446-
info('Database Instance: %s (id %s)', $dbitem->name, $dbitem->id);
445+
do {
446+
while($dbitem = $dblist->Next())
447+
info('Database Instance: %s (id %s)', $dbitem->name, $dbitem->id);
448+
} while ($dblist = $dblist->NextPage());
447449

448450
step('Deleting the database user');
449451
$user->Delete();

0 commit comments

Comments
 (0)