Skip to content

Commit

Permalink
Bump framework version, test updates
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesDPC committed Jun 21, 2023
1 parent 0ae8a23 commit 5bf2776
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
]
},
"require": {
"silverstripe/framework" : "^4.10.0",
"silverstripe/framework" : "^5",
"ezyang/htmlpurifier" : "^4.13"
},
"require-dev": {
Expand Down
6 changes: 3 additions & 3 deletions tests/FieldTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function testFieldContentSanitisation() {
"strike",
]
];
Config::inst()->update(
Config::modify()->set(
TrumboywgEditorField::class,
'editor_options',
$options
Expand Down Expand Up @@ -104,7 +104,7 @@ public function testFieldContentSanitisation() {
*/
public function testGenerateConfig() {
$tags = "<p><i><u><h2>";
Config::inst()->update(
Config::modify()->set(
ContentSanitiser::class,
'default_allowed_html_tags',
$tags
Expand All @@ -129,7 +129,7 @@ public function testGenerateConfig() {
*/
public function testEmptyConfig() {
$tags = "";
Config::inst()->update(
Config::modify()->set(
ContentSanitiser::class,
'default_allowed_html_tags',
$tags
Expand Down

0 comments on commit 5bf2776

Please sign in to comment.