mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fix invalid closure param in ShortcodeParserTest
This commit is contained in:
parent
05a737c5fc
commit
454646c4df
@ -252,7 +252,7 @@ class ShortcodeParserTest extends SapphireTest {
|
||||
$this->parser->parse('<script>[2]</script>')
|
||||
);
|
||||
|
||||
$this->parser->register('2', function($attributes, $content, $this, $tag, $extra) {
|
||||
$this->parser->register('2', function($attributes, $content, $parser, $tag, $extra) {
|
||||
return 'this is 2';
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user