-
Notifications
You must be signed in to change notification settings - Fork 824
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
FIX illegal_extensions in unit tests not being honored #6760
Conversation
@@ -356,15 +356,15 @@ public static function setUpBeforeClass() | |||
continue; | |||
} | |||
foreach ($extensions as $extension) { | |||
if (!class_exists($extension) ||$class::has_extension($extension)) { | |||
if (!class_exists($extension) || !$class::has_extension($extension)) { |
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.
This is the important change. The rest is just whitespace.
I think the test failure may well be related? |
The Travis failure is just this: https://github.com/silverstripe/silverstripe-versioned/pull/6/files |
@mikenz ah - I've merged that and restarted the tests |
Looks like the CMS test isn't getting on to well :/ |
Oh, I've fixed those locally - I'll create a PR for them too |
Fix CMS unit tests silverstripe/silverstripe-cms#1771 |
Right, I seemed to have missed the PR for cms when I did the work last night- I've opened that here: silverstripe/silverstripe-cms#1772 and it looks like the tests will pass. This PR looks good |
No description provided.