Skip to content

Commit

Permalink
Remove incorrect attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
bilfeldt committed Jan 7, 2024
1 parent 43c94bd commit f8fa806
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion tests/Feature/ClientRequestIdMiddlewareTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

class ClientRequestIdMiddlewareTest extends TestCase
{
#[Test]
public function test_adds_request_id_to_response_header(): void
{
$uuid = Str::orderedUuid();
Expand Down
2 changes: 0 additions & 2 deletions tests/Feature/CorrelationIdMiddlewareTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

class CorrelationIdMiddlewareTest extends TestCase
{
#[Test]
public function test_adds_request_correlation_id_header(): void
{
$uuid = Str::orderedUuid();
Expand All @@ -26,7 +25,6 @@ public function test_adds_request_correlation_id_header(): void
$this->assertEquals($uuid, $request->headers->get('Correlation-ID'));
}

#[Test]
public function test_adds_response_correlation_id_header(): void
{
$request = new Request();
Expand Down
2 changes: 0 additions & 2 deletions tests/Feature/LogContextMiddlewareTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

class LogContextMiddlewareTest extends TestCase
{
#[Test]
public function test_adds_request_correlation_id_to_log_context(): void
{
$id = 'test-correlation-id';
Expand All @@ -28,7 +27,6 @@ public function test_adds_request_correlation_id_to_log_context(): void
$this->assertEquals($id, Log::sharedContext()['correlation_id']); // Assert context is set AFTER the request is processed.
}

#[Test]
public function test_adds_request_id_to_log_context(): void
{
$request = new Request();
Expand Down

0 comments on commit f8fa806

Please sign in to comment.