Skip to content
This repository has been archived by the owner on Apr 2, 2020. It is now read-only.

Set WP_PLUGIN_DIR constant for tests #202

Merged
merged 1 commit into from
Dec 20, 2016

Conversation

goldenapples
Copy link
Contributor

Prevents ugly failures caused by the symlink in the test suite.

Since the test suite failures in #197 are caused by the symlink in the test setup and not anything in the plugin itself, defining the plugin dir correctly for tests seems like the best solution here. (If a user wants to register symlinks for their individual setup, they'll have to do something like this anyways, either by defining the whole plugin directory in a constant as this is doing, or by adding a filter to plugins_url or plugin_basename.)

Prevents ugly failures caused by the symlink in the test suite.
@davisshaver
Copy link
Member

🌟

@davisshaver davisshaver merged commit 840b4e1 into pdf-local Dec 20, 2016
@davisshaver davisshaver deleted the pdf-local-fix-test-for-symlink branch December 20, 2016 11:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants