-
Notifications
You must be signed in to change notification settings - Fork 333
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
API Stop using deprecated API #2794
API Stop using deprecated API #2794
Conversation
c0c2e74
to
236d7af
Compare
@@ -12,8 +12,6 @@ class MigrateSiteTreeLinkingTaskTest extends SapphireTest | |||
{ | |||
protected static $fixture_file = 'MigrateSiteTreeLinkingTaskTest.yml'; | |||
|
|||
protected static $use_draft_site = true; |
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.
Removed because FunctionalTest::use_draft_site is deprecated. This never actually needed to be set true for the unit test to pass.
0f593fa
to
44411c6
Compare
@@ -25,6 +25,7 @@ | |||
"silverstripe/reports": "^4.7@dev", | |||
"silverstripe/siteconfig": "^4.7@dev", | |||
"silverstripe/versioned": "^1.7@dev", | |||
"silverstripe/versioned-admin": "^1.7@dev", |
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 required to get CMS page history to work since we've migrated from the deprecated CMS class to the class in versioned-admin
@@ -30,7 +30,7 @@ | |||
class ZZZSearchFormTest extends FunctionalTest | |||
{ | |||
|
|||
protected static $fixture_file = 'SearchFormTest.yml'; | |||
protected static $fixture_file = 'ZZZSearchFormTest.yml'; |
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.
Renamed to remove the warning that the filename did not match the class name
815a556
to
f031025
Compare
Require silverstripe/silverstripe-framework#10565 to be merged. |
f031025
to
e64bfdb
Compare
@sabina-talipova green now |
Issue silverstripe/silverstripe-framework#10542
CI won't pass until silverstripe/silverstripe-framework#10565 is merged