Use X-REQUEST-ID for Error pages
This commit is contained in:
		
					parent
					
						
							
								5584e7a4e5
							
						
					
				
			
			
				commit
				
					
						4f1bb0d274
					
				
			
		
					 55 changed files with 218 additions and 130 deletions
				
			
		|  | @ -32,7 +32,7 @@ class RateLimitStatusTest extends ApiTest | |||
| 	public function testWithJson() | ||||
| 	{ | ||||
| 		$response = (new RateLimitStatus(DI::app(), DI::l10n(), DI::baseUrl(), DI::args(), DI::logger(), DI::profiler(), DI::apiResponse(), [], ['extension' => 'json'])) | ||||
| 			->run(); | ||||
| 			->run($this->httpExceptionMock); | ||||
| 
 | ||||
| 		$result = $this->toJson($response); | ||||
| 
 | ||||
|  | @ -48,7 +48,7 @@ class RateLimitStatusTest extends ApiTest | |||
| 	public function testWithXml() | ||||
| 	{ | ||||
| 		$response = (new RateLimitStatus(DI::app(), DI::l10n(), DI::baseUrl(), DI::args(), DI::logger(), DI::profiler(), DI::apiResponse(), [], ['extension' => 'xml'])) | ||||
| 			->run(); | ||||
| 			->run($this->httpExceptionMock); | ||||
| 
 | ||||
| 		self::assertEquals([ | ||||
| 			'Content-type'                => ['text/xml'], | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue