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

Add Unit Test #75

Open
wants to merge 39 commits into
base: develop
Choose a base branch
from
Open

Add Unit Test #75

wants to merge 39 commits into from

Conversation

vaishaliagola27
Copy link

#60

thrijith and others added 29 commits January 27, 2020 18:20
Rename workflow file for PHPCS, for better clarity
Update admin class test to use utility methods
Initialize AMP_Admanager class
Add tests for class-admin.php and class-shortcode.php
Update Readme with Contributing guideline and Add tests folder to skip_folders list
Copy link
Member

@deepaklalwani97 deepaklalwani97 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@sagarnasit sagarnasit left a 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.

phpcs.xml Outdated Show resolved Hide resolved
tests/classes/test-class-amp-admanager.php Outdated Show resolved Hide resolved
@deepaklalwani97
Copy link
Member

@sagarnasit I have addressed all the feedbacks.

Copy link
Member

@sagarnasit sagarnasit left a 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.

Comment on lines 421 to 422
$this->assertNotEmpty( $output );
$this->assertNotEmpty( $output );
Copy link
Member

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.

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.

5 participants