Skip to content
Snippets Groups Projects

Issue #3337068: PackageManagerKernelTestBase::assertResults does not show actual results if none were expected.

Merged Issue #3337068: PackageManagerKernelTestBase::assertResults does not show actual results if none were expected.
Merged Ted Bowman requested to merge issue/automatic_updates-3337068:3337068-show-error into 8.x-2.x
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -169,8 +169,8 @@ abstract class PackageManagerKernelTestBase extends KernelTestBase {
$this->assertValidationResultsEqual([], $expected_results);
}
catch (TestStageValidationException $e) {
$this->assertNotEmpty($expected_results);
$this->assertValidationResultsEqual($expected_results, $e->getResults());
$this->assertNotEmpty($expected_results);
// TestStage::dispatch() throws TestStageValidationException with the
// event object so that we can analyze it.
$this->assertNotEmpty($event_class);
Loading