We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1dfe3b commit 85f86ffCopy full SHA for 85f86ff
docs/includes/fundamentals/read-operations/ReadOperationsTest.php
@@ -9,6 +9,10 @@
9
use MongoDB\Driver\ReadPreference;
10
use MongoDB\Laravel\Tests\TestCase;
11
12
+use function json_encode;
13
+
14
+use const JSON_PRETTY_PRINT;
15
16
class ReadOperationsTest extends TestCase
17
{
18
protected function setUp(): void
@@ -201,6 +205,7 @@ public function testQueryLog(): void
201
205
foreach ($logs as $log) {
202
206
echo json_encode($log, JSON_PRETTY_PRINT);
203
207
}
208
204
209
// end-query-log
210
211
$this->assertNotNull($logs);
0 commit comments