Commit 7525cd94 authored by slashrsm's avatar slashrsm Committed by slashrsm

Issue #2850092 by slashrsm, Berdir: Fix failing tests in 8.x-1.x

parent 7c3dfbf7
......@@ -305,7 +305,6 @@ class ActivityUiTest extends WebTestBase {
$this->drupalLogin($user);
// Delete generated activity view to get default view from list builder.
$this->drupalGet('admin/structure/views');
$this->drupalGet('admin/structure/views/view/crm_core_activity_overview/delete');
$this->drupalPostForm(NULL, [], TRUE);
// Check activity collection page.
......
......@@ -56,7 +56,7 @@ use Drupal\entity\Revision\RevisionableContentEntityBase;
* "edit-form" = "/crm-core/organization/{crm_core_organization}/edit",
* "delete-form" = "/crm-core/organization/{crm_core_organization}/delete",
* "revision" = "/crm-core/organization/{crm_core_organization}/revisions/{crm_core_organization_revision}/view",
* "revision-revert-form" = "/crm-core/organization/{crm_core_activity}/revisions/{crm_core_organization_revision}/revert",
* "revision-revert-form" = "/crm-core/organization/{crm_core_organization}/revisions/{crm_core_organization_revision}/revert",
* "version-history" = "/crm-core/organization/{crm_core_organization}/revisions",
* }
* )
......
......@@ -328,14 +328,12 @@ class IndividualUiTest extends WebTestBase {
$this->drupalLogin($user);
// Delete created organization view to get default view from list builder.
$this->drupalGet('admin/structure/views');
$this->drupalGet('admin/structure/views/view/crm_core_organizaiton_overview/delete');
$this->drupalPostForm(NULL, [], TRUE);
// Check organization collection page.
$this->drupalGet('/crm-core/organization');
$this->assertResponse(200);
// Delete created individual view to get default view from list builder.
$this->drupalGet('admin/structure/views');
$this->drupalGet('admin/structure/views/view/crm_core_individual_overview/delete');
$this->drupalPostForm(NULL, [], TRUE);
// Assert response on individual collection page.
......
......@@ -36,7 +36,6 @@ class IndividualCRUDTest extends KernelTestBase {
'dynamic_entity_reference',
'datetime',
'relation',
'relation_endpoint',
'name',
'options',
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment