Problem/Motivation

In AjaxAddCartViewsRemoveButtonTest every test has a common setup task:

$this->drupalLogin($this->drupalCreateUser([
  'access cart',
]));

Such common task can be moved inside the base test class.

Proposed resolution

The creation of the user should be moved inside AjaxAddCartViewsTestBase.

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

Comments

subhojit777 created an issue. See original summary.

subhojit777’s picture

subhojit777’s picture

  • subhojit777 committed 20b1892 on 8.x-1.x
    Issue #2935858 by subhojit777: [Test Improvement] Move common setup...
subhojit777’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.