-
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
DEP Use PHPUnit 11 #3000
DEP Use PHPUnit 11 #3000
Conversation
cbbec51
to
d23c78c
Compare
@@ -5,7 +5,7 @@ | |||
use SilverStripe\CMS\Model\SiteTree; | |||
use SilverStripe\Dev\TestOnly; | |||
|
|||
class SiteTreeTest_NamespaceMapTest extends SiteTree implements TestOnly | |||
class SiteTreeTest_NamespaceMapTestNode extends SiteTree implements TestOnly |
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.
Because this file ends in "Test" - phpunit though it was a test class and complained that it had no test cases. So I simply renamed it to match its $table_name
@@ -5,7 +5,7 @@ | |||
use SilverStripe\CMS\Controllers\ContentController; | |||
use SilverStripe\Dev\TestOnly; | |||
|
|||
class SiteTreeTest_NamespaceMapTestController extends ContentController implements TestOnly | |||
class SiteTreeTest_NamespaceMapTestNodeController extends ContentController implements TestOnly |
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 was renamed to match the corresponding SiteTreeTest_NamespaceMapTestNode which was also renamed
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.
LGTM, will merge once all other PRs are approved
d23c78c
to
36686f7
Compare
Issue silverstripe/.github#305