Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
daVitekPL committed Oct 3, 2024
1 parent 5346b92 commit 9fb0810
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/Services/CacheGetRequestService.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ class CacheGetRequestService extends CacheAllSuccessfulGetRequests
{
public function useCacheNameSuffix(Request $request): string
{
return isset($_SERVER['SERVER_NAME']) ? parent::useCacheNameSuffix($request) : $_SERVER['SERVER_NAME'] . '_' . parent::useCacheNameSuffix($request);
return isset($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] . '_' . parent::useCacheNameSuffix($request) : parent::useCacheNameSuffix($request);
}
}
1 change: 0 additions & 1 deletion tests/APIs/CourseAnonymousApiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,6 @@ public function test_anonymous_sorting()
'/api/courses/?order_by=id&order=ASC'
);

dd($this->response);
$this->assertEquals($this->response->getData()->data[0]->id, $course1->getKey());
$this->response->assertStatus(200);

Expand Down

0 comments on commit 9fb0810

Please sign in to comment.