Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EWPP-1288: Fix coding standards. #886

Merged
merged 1 commit into from
Jul 20, 2021
Merged

EWPP-1288: Fix coding standards. #886

merged 1 commit into from
Jul 20, 2021

Conversation

ademarco
Copy link
Member

No description provided.

@ademarco ademarco force-pushed the EWPP-1288 branch 2 times, most recently from af4e7a1 to dd978a0 Compare July 20, 2021 13:28
yenyasinn
yenyasinn previously approved these changes Jul 20, 2021
@@ -85,11 +85,13 @@ protected function assertFeaturedItemImage($expected_image, string $variant, Cra
*/
protected function assertLink($expected_link, string $variant, Crawler $crawler): void {
// Assert the title url points to the correct direction.
$this->assertElementAttribute($expected_link['href'], 'article.ecl-card header.ecl-card__header h1.ecl-card__title a.ecl-link', 'href', $crawler);;
$this->assertElementAttribute($expected_link['href'], 'article.ecl-card header.ecl-card__header h1.ecl-card__title a.ecl-link', 'href', $crawler);
;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
;


// If the variant is extended, assert that the button is correct.
if ($variant == 'extended') {
$this->assertElementAttribute($expected_link['href'], 'article.ecl-card div.ecl-card__body div.ecl-card__description a.ecl-button--call', 'href', $crawler);;
$this->assertElementAttribute($expected_link['href'], 'article.ecl-card div.ecl-card__body div.ecl-card__description a.ecl-button--call', 'href', $crawler);
;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
;

@ademarco ademarco merged commit ce10be1 into 2.x Jul 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants