Skip to content

Commit

Permalink
updated - output tags
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveJonesDev committed Dec 12, 2023
1 parent f13c778 commit 444c23c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/phpunit/test-admin_notices.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function test_edac_get_gaad_promo_message_contains_promo_message() {
$message = $this->admin_notices->edac_get_gaad_promo_message();
$this->assertStringContainsString( '🎉 Get 30% off Accessibility Checker Pro in honor of Global Accessibility Awareness Day! 🎉', $message );
$this->assertStringContainsString( 'Use coupon code GAAD23 from May 18th-May 25th to get access to full-site scanning and other pro features at a special discount.', $message );
$this->assertStringContainsString( 'https://my.equalizedigital.com/support/pre-sale-questions/?utm_source=accessibility-checker&utm_medium=software&utm_campaign=GAAD23', $message );
$this->assertStringContainsString( 'https://my.equalizedigital.com/support/pre-sale-questions/?utm_source=accessibility-checker&utm_medium=software&utm_campaign=GAAD23', $message );
$this->assertStringContainsString( 'https://equalizedigital.com/accessibility-checker/pricing/?utm_source=accessibility-checker&utm_medium=software&utm_campaign=GAAD23', $message );
}

Expand Down Expand Up @@ -95,8 +95,7 @@ public function test_edac_password_protected_notice_text_contains_notice_message
$message = $this->admin_notices->edac_password_protected_notice_text();
$this->assertStringContainsString( 'Whoops! It looks like your website is currently password protected.', $message );
$this->assertStringContainsString( 'The free version of Accessibility Checker can only scan live websites.', $message );
$this->assertStringContainsString( 'To scan this website for accessibility problems either remove the password protection or upgrade to pro.', $message );
$this->assertStringContainsString( 'To scan this website for accessibility problems either remove the password protection or <a href="https://equalizedigital.com/accessibility-checker/pricing/" target="_blank" aria-label="Upgrade to accessibility checker pro. Opens in a new window.">upgrade to pro</a>.', $message );
$this->assertStringContainsString( 'Scan results may be stored from a previous scan.', $message );
}

}

0 comments on commit 444c23c

Please sign in to comment.