Skip to content

Commit 63f2741

Browse files
committed
ci: debug IntegrationTestPagingMultipleBase
1 parent 2a63f83 commit 63f2741

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/integration/Lib/IntegrationTestPagingMultipleBase.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,20 +137,23 @@ protected function case4() {
137137
// and thus sets cookie so search can continue
138138
$result = $this->access->countUsers($filter, $attributes, 2, 0);
139139
if ($result !== 4) {
140+
echo "Expected 4, got $result" . PHP_EOL;
140141
return false;
141142
}
142143

143144
// interrupt previous paged search with paged search that returns complete result
144145
// and thus sets '' cookie indicating completion
145146
$result = $this->access->countUsers($filter, $attributes, 10, 0);
146147
if ($result !== 5) {
148+
echo "Expected 5, got $result" . PHP_EOL;
147149
return false;
148150
}
149151

150152
// we should be able to continue previous paged search when interrupted
151153
// by retrying search to repopulate cookie
152154
$result = $this->access->countUsers($filter, $attributes, 2, 2);
153155
if ($result !== 1) {
156+
echo "Expected 1, got $result" . PHP_EOL;
154157
return false;
155158
}
156159

0 commit comments

Comments
 (0)