Skip to content

Commit

Permalink
Merge pull request #816 from spiral/feature/telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
spiralbot committed Oct 27, 2022
1 parent 1511aec commit 0312799
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/CookiesTest.php
Expand Up @@ -21,6 +21,8 @@
use Spiral\Http\Http;
use Spiral\Http\Pipeline;
use Nyholm\Psr7\ServerRequest;
use Spiral\Telemetry\NullTracer;
use Spiral\Telemetry\TracerInterface;

class CookiesTest extends TestCase
{
Expand All @@ -29,6 +31,7 @@ class CookiesTest extends TestCase
public function setUp(): void
{
$this->container = new Container();
$this->container->bind(TracerInterface::class, new NullTracer($this->container));
$this->container->bind(CookiesConfig::class, new CookiesConfig([
'domain' => '.%s',
'method' => CookiesConfig::COOKIE_ENCRYPT,
Expand Down

0 comments on commit 0312799

Please sign in to comment.