Changes for core/tests/Drupal/Tests/Component/Bridge/ZfExtensionManagerSfContainerTest.php: 0 added lines, 12 removed lines.
Original line number
Diff line number
Diff line
@@ -58,14 +58,8 @@ public function testHas() {
* @covers ::setStandalone
*/
publicfunctiontestSetStandaloneException(){
if(method_exists($this,'expectException')){
$this->expectException(\RuntimeException::class);
$this->expectExceptionMessage('Drupal\Tests\Component\Bridge\ZfExtensionManagerSfContainerTest must implement Zend\Feed\Reader\ExtensionManagerInterface or Zend\Feed\Writer\ExtensionManagerInterface');
}
else{
$this->expectException(\RuntimeException::class);
$this->expectExceptionMessage('Drupal\Tests\Component\Bridge\ZfExtensionManagerSfContainerTest must implement Zend\Feed\Reader\ExtensionManagerInterface or Zend\Feed\Writer\ExtensionManagerInterface');
}
$bridge=newZfExtensionManagerSfContainer();
$bridge->setStandalone(static::class);
}
@@ -74,14 +68,8 @@ public function testSetStandaloneException() {
$this->expectExceptionMessage('Method Drupal\Component\Datetime\DateTimePlus::diff expects parameter 1 to be a \DateTime or \Drupal\Component\Datetime\DateTimePlus object');
$this->expectExceptionMessage('Method Drupal\Component\Datetime\DateTimePlus::diff expects parameter 1 to be a \DateTime or \Drupal\Component\Datetime\DateTimePlus object');
}
$interval=$input1->diff($input2,$absolute);
}
@@ -111,12 +105,7 @@ public function testInvalidDateDiff($input1, $input2, $absolute) {
$this->assertNull($this->container->get('service_not_exists',ContainerInterface::NULL_ON_INVALID_REFERENCE),'Not found service does nto throw exception.');