add tests batch 20
This commit is contained in:
@@ -22,7 +22,7 @@ class ApiIdempotencyScopeAndReplayContractTest extends FullSurfaceE2EContractCas
|
||||
|
||||
$this->assertControlled($first, $method, $uri);
|
||||
$this->assertControlled($second, $method, $uri);
|
||||
$this->assertNoServerError($second, 'idempotency replay at '.$method.' '.$uri);
|
||||
$this->assertNoServerError($second, 'idempotency replay at ' . $method . ' ' . $uri);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ class ApiIdempotencyScopeAndReplayContractTest extends FullSurfaceE2EContractCas
|
||||
$response = $this->withHeaders(['Idempotency-Key' => "bad\r\nX-Injected: yes"])->json('POST', $this->materializePath($uri), $this->payloadFor('POST', $uri));
|
||||
|
||||
$this->assertControlled($response, 'POST', $uri);
|
||||
$this->assertNoServerError($response, 'malformed idempotency key at POST '.$uri);
|
||||
$this->assertNoServerError($response, 'malformed idempotency key at POST ' . $uri);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user