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

API Stop using deprecated API #73

Merged

Conversation

emteknetnz
Copy link
Member

@@ -22,12 +24,12 @@ class RegistryPageFunctionalTest extends FunctionalTest
RegistryPageTestPage::class
];

protected static $use_draft_site = true;
Copy link
Member Author

Choose a reason for hiding this comment

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

Removing because FuntionalTest.use_draft_site is deprecated. To fix the unit test I just publish all the pages.

@@ -25,7 +25,8 @@
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"squizlabs/php_codesniffer": "^3.0"
"squizlabs/php_codesniffer": "^3.0",
"silverstripe/versioned": "^1.12"
Copy link
Member Author

@emteknetnz emteknetnz Nov 9, 2022

Choose a reason for hiding this comment

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

Adding this to require-dev so that we can call ->publishRecursive() in unit tests

@emteknetnz emteknetnz marked this pull request as ready for review November 9, 2022 01:26
@sabina-talipova sabina-talipova merged commit 9802788 into silverstripe:2 Nov 11, 2022
@sabina-talipova sabina-talipova deleted the pulls/2/stop-depr branch November 11, 2022 00:00
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.

2 participants