diff --git a/core/modules/config/src/Tests/ConfigDependencyWebTest.php b/core/modules/config/src/Tests/ConfigDependencyWebTest.php index 019c8cb..02a9170 100644 --- a/core/modules/config/src/Tests/ConfigDependencyWebTest.php +++ b/core/modules/config/src/Tests/ConfigDependencyWebTest.php @@ -61,14 +61,14 @@ function testConfigDependencyDeleteFormTrait() { ); $entity2->save(); - $this->drupalGet($entity2->url('delete-form')); + $this->drupalGet($entity2->urlInfo('delete-form')); $this->assertNoText(t('Configuration updates'), 'No configuration updates found.'); $this->assertNoText(t('Configuration deletions'), 'No configuration deletes found.'); - $this->drupalGet($entity1->url('delete-form')); + $this->drupalGet($entity1->urlInfo('delete-form')); $this->assertNoText(t('Configuration updates'), 'No configuration updates found.'); $this->assertText(t('Configuration deletions'), 'Configuration deletions found.'); $this->assertText($entity2->id(), 'Entity2 id found'); - $this->drupalPostForm($entity1->url('delete-form'), array(), 'Delete'); + $this->drupalPostForm($entity1->urlInfo('delete-form'), array(), 'Delete'); $storage->resetCache(); $this->assertFalse($storage->loadMultiple([$entity1->id(), $entity2->id()]), 'Test entities deleted'); @@ -112,13 +112,13 @@ function testConfigDependencyDeleteFormTrait() { ); $entity3->save(); - $this->drupalGet($entity1->url('delete-form')); + $this->drupalGet($entity1->urlInfo('delete-form')); $this->assertText(t('Configuration updates'), 'Configuration updates found.'); $this->assertNoText(t('Configuration deletions'), 'No configuration deletions found.'); $this->assertNoText($entity2->id(), 'Entity2 id not found'); $this->assertText($entity2->label(), 'Entity2 label not found'); $this->assertNoText($entity3->id(), 'Entity3 id not found'); - $this->drupalPostForm($entity1->url('delete-form'), array(), 'Delete'); + $this->drupalPostForm($entity1->urlInfo('delete-form'), array(), 'Delete'); $storage->resetCache(); $this->assertFalse($storage->load('entity1'), 'Test entity 1 deleted'); $entity2 = $storage->load('entity2');