Closed (fixed)
Project:
Commerce Ajax Add to Cart
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
11 Jan 2018 at 06:32 UTC
Updated:
5 Feb 2018 at 06:24 UTC
Jump to comment: Most recent
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.
The creation of the user should be moved inside AjaxAddCartViewsTestBase.
N/A
N/A
N/A
N/A
Comments
Comment #2
subhojit777Comment #3
subhojit777Comment #5
subhojit777