comparison core/modules/system/src/Tests/System/UncaughtExceptionTest.php @ 12:7a779792577d

Update Drupal core to v8.4.5 (via Composer)
author Chris Cannam
date Fri, 23 Feb 2018 15:52:07 +0000
parents 4c8ae668cc8c
children
comparison
equal deleted inserted replaced
11:bfffd8d7479a 12:7a779792577d
197 197
198 $this->expectedExceptionMessage = 'Thrown exception during Container::get'; 198 $this->expectedExceptionMessage = 'Thrown exception during Container::get';
199 $this->drupalGet(''); 199 $this->drupalGet('');
200 $this->assertResponse(500); 200 $this->assertResponse(500);
201 201
202
203 $this->assertRaw('The website encountered an unexpected error'); 202 $this->assertRaw('The website encountered an unexpected error');
204 $this->assertRaw($this->expectedExceptionMessage); 203 $this->assertRaw($this->expectedExceptionMessage);
205 $this->assertErrorLogged($this->expectedExceptionMessage); 204 $this->assertErrorLogged($this->expectedExceptionMessage);
206 } 205 }
207 206