removed unused code
This commit is contained in:
@ -16,7 +16,6 @@ class UtilsTest extends UnitTestCase{
|
||||
}
|
||||
|
||||
public function testGetTidByNameGetsTid():void {
|
||||
$this->entityTypeManager->method('getStorage')->willReturn($this->storage);
|
||||
$term_entity = $this->getMockBuilder('\\Drupal\\Core\\Entity\\EntityBase')->disableOriginalConstructor()->getMock();
|
||||
$term_entity->expects($this->once())->method('id')->willReturn('3');
|
||||
$this->storage->expects($this->once())->method('loadByProperties')->with(['name' => 'foo', 'vid' => 'bar'])
|
||||
|
Reference in New Issue
Block a user