8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 331c66c commit 901f643Copy full SHA for 901f643
tests/lib/Integration/Queue/QueueJobsTest.php
@@ -44,7 +44,7 @@ public function testReadNotPending()
44
$response = $this
45
->getJsonApi($this->jobUrl($job))
46
->assertStatus(303)
47
- ->assertLocation('/api/v1/downloads/' . $job->resource_id)
+ ->assertHeader('Location', url('/api/v1/downloads', [$job->resource_id]))
48
->assertHeader('Content-Type', 'application/vnd.api+json');
49
50
$this->assertEmpty($response->getContent(), 'content is empty.');
0 commit comments