Skip to content

Commit

Permalink
fix mongodb imports
Browse files Browse the repository at this point in the history
  • Loading branch information
PROFeNoM committed Jan 22, 2025
1 parent c07146b commit 4932d87
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 19 deletions.
16 changes: 14 additions & 2 deletions tests/Integrations/MongoDB/Latest/MongoDBTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
use DDTrace\Tag;
use DDTrace\Tests\Common\IntegrationTestCase;
use DDTrace\Tests\Common\SpanAssertion;
use DDTrace\Tests\Integrations\MongoDB\AnObject;
use DDTrace\Tests\Integrations\MongoDB\AQuery;
use Exception;
use MongoDB\Client;
use stdClass;
Expand Down Expand Up @@ -1016,4 +1014,18 @@ private function arrayToObject(array $array)
}
return $obj;
}
}

class AQuery
{
public $brand;

public function __construct($brand = 'ferrari')
{
$this->brand = $brand;
}
}

class AnObject
{
}
17 changes: 0 additions & 17 deletions tests/Integrations/MongoDB/Utils.php

This file was deleted.

0 comments on commit 4932d87

Please sign in to comment.