-
Notifications
You must be signed in to change notification settings - Fork 3
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 PHP Support in CMS5 #278
DEP PHP Support in CMS5 #278
Conversation
composer.json
Outdated
"silverstripe/cms": "^5", | ||
"silverstripe/admin": "^2", | ||
"silverstripe/vendor-plugin": "^2", | ||
"symbiote/silverstripe-gridfieldextensions": "^3.5", |
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.
"symbiote/silverstripe-gridfieldextensions": "^3.5", | |
"symbiote/silverstripe-gridfieldextensions": "^4", |
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.
DONE
11f8ae1
to
395ecc6
Compare
4fe7065
to
a683f80
Compare
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.
Failing unit tests
Created new issue for failed Behat tests #280 |
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.
Just need to fix the permission check.
@@ -24,15 +22,17 @@ protected function setUp(): void | |||
|
|||
public function testGetSchemaFromPageUrl() | |||
{ | |||
$response = $this->get('animal-centers/schema'); | |||
$this->logInWithPermission('ADMIN'); |
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->logInWithPermission('ADMIN'); | |
$this->logInWithPermission('VIEW_DRAFT_CONTENT'); |
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.
DONE
|
||
$this->assertSame(200, $response->getStatusCode()); | ||
$this->assertJson($response->getBody()); | ||
} | ||
|
||
public function testGetSchemaFromPageSubUrl() | ||
{ | ||
$response = $this->get('animal-centers/view/123/schema'); | ||
$this->logInWithPermission('ADMIN'); |
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->logInWithPermission('ADMIN'); | |
$this->logInWithPermission('VIEW_DRAFT_CONTENT'); |
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.
DONE
a683f80
to
1d70aa5
Compare
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
Parent issue