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

Installer connector test implemented #1155

Merged
merged 4 commits into from
Jan 12, 2021
Merged

Conversation

kidunot89
Copy link
Contributor

@kidunot89 kidunot89 commented Aug 12, 2020

Partially fixes #1093

Summary Checklist

  • upgrader_process_complete callback test implemented and passing. Skipped
  • activate_plugin callback test implemented and passing.
  • deactivate_plugin callback test implemented and passing.
  • delete_site_transient_update_themes callback test implemented and passing.
  • pre_set_site_transient_update_plugins callback test implemented and passing. Skipped
  • _core_updated_successfully callback test implemented and passing. Skipped
  • switch_theme callback test implemented and passing.

Some tests are incomplete and skipped because I can't find a way to simulate the scenarios needed.

@kidunot89 kidunot89 added needs discussion The issue/PR needs further discussion before a solution can be implemented work in progress Issue or pull request is still under development (DO NOT MERGE) labels Aug 12, 2020
@kidunot89 kidunot89 self-assigned this Aug 12, 2020
@@ -6,7 +6,7 @@ services:
image: mysql:5
volumes:
- db_data:/var/lib/mysql
restart: always
restart: unless-stopped
Copy link
Contributor

Choose a reason for hiding this comment

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

This appears to not start the container if it has been stopped manually. Are we sure this is not going to cause unexpected results during test runs, for example?

Copy link
Contributor Author

@kidunot89 kidunot89 Aug 20, 2020

Choose a reason for hiding this comment

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

I'll remove it, just wanted an alternative to always for local development, to prevent the container from being rebuilt on boot.

@kidunot89 kidunot89 changed the title WIP Installer connector test implemented Installer connector test implemented Aug 21, 2020
@kidunot89 kidunot89 removed needs discussion The issue/PR needs further discussion before a solution can be implemented work in progress Issue or pull request is still under development (DO NOT MERGE) labels Aug 21, 2020
@kidunot89 kidunot89 added this to the 3.6.1 milestone Jan 4, 2021
@kidunot89 kidunot89 merged commit c6e834e into develop Jan 12, 2021
@kidunot89 kidunot89 deleted the tests/installer-connector branch January 12, 2021 21:41
@kidunot89 kidunot89 mentioned this pull request Jan 12, 2021
10 tasks
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.

Improve Test Coverage
2 participants