Skip to content

Commit 4932d87

Browse files
committed
fix mongodb imports
1 parent c07146b commit 4932d87

File tree

2 files changed

+14
-19
lines changed

2 files changed

+14
-19
lines changed

Diff for: tests/Integrations/MongoDB/Latest/MongoDBTest.php

+14-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
use DDTrace\Tag;
66
use DDTrace\Tests\Common\IntegrationTestCase;
77
use DDTrace\Tests\Common\SpanAssertion;
8-
use DDTrace\Tests\Integrations\MongoDB\AnObject;
9-
use DDTrace\Tests\Integrations\MongoDB\AQuery;
108
use Exception;
119
use MongoDB\Client;
1210
use stdClass;
@@ -1016,4 +1014,18 @@ private function arrayToObject(array $array)
10161014
}
10171015
return $obj;
10181016
}
1017+
}
1018+
1019+
class AQuery
1020+
{
1021+
public $brand;
1022+
1023+
public function __construct($brand = 'ferrari')
1024+
{
1025+
$this->brand = $brand;
1026+
}
1027+
}
1028+
1029+
class AnObject
1030+
{
10191031
}

Diff for: tests/Integrations/MongoDB/Utils.php

-17
This file was deleted.

0 commit comments

Comments
 (0)