-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add Unit Test #75
base: develop
Are you sure you want to change the base?
Add Unit Test #75
Conversation
Rename workflow file for PHPCS, for better clarity
Setup PHPUnit testing
feature/GH-66 : Add PHPCS ruleset
Update admin class test to use utility methods
Initialize AMP_Admanager class
Add tests for class-admin.php and class-shortcode.php
Test case for AMP_AdManager class
Update Readme with Contributing guideline and Add tests folder to skip_folders list
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Add docblock description for test functions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@deepaklalwani97 Added a couple of feedbacks. Please resolve that.
@sagarnasit I have addressed all the feedbacks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@deepaklalwani97 Please remove the duplicate assertion I mentioned. I'm approving this PR. Ready to go after this change.
$this->assertNotEmpty( $output ); | ||
$this->assertNotEmpty( $output ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove duplicate assertion from here.
Fix issue with custom targeting attributes in get_ads
#60