Skip to content

Commit

Permalink
Merge branch '4.2-dev' into j4/plugins/demotasks
Browse files Browse the repository at this point in the history
  • Loading branch information
laoneo authored Jun 19, 2022
2 parents 834c12e + 29f69c9 commit e3f6ebf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions tests/Unit/Libraries/Cms/Plugin/CMSPluginTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -460,9 +460,9 @@ public function testDispatchLegacyListener()
$plugin = new class($dispatcher, []) extends CMSPlugin
{
public function registerTestListener()
{
parent::registerLegacyListener('onTest');
}
{
parent::registerLegacyListener('onTest');
}

public function onTest()
{
Expand All @@ -489,9 +489,9 @@ public function testDispatchLegacyListenerWhenNullIsReturned()
$plugin = new class($dispatcher, []) extends CMSPlugin
{
public function registerTestListener()
{
parent::registerLegacyListener('onTest');
}
{
parent::registerLegacyListener('onTest');
}

public function onTest()
{}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ class RequestsPluginTest extends UnitTestCase
* @since __DEPLOY_VERSION__
*/
public function setUp(): void
{
{
if (is_dir(__DIR__ . '/tmp'))
{
Folder::delete(__DIR__ . '/tmp');
}
}
}

/**
* Cleanup
Expand All @@ -59,12 +59,12 @@ public function setUp(): void
* @since __DEPLOY_VERSION__
*/
public function tearDown(): void
{
{
if (is_dir(__DIR__ . '/tmp'))
{
Folder::delete(__DIR__ . '/tmp');
}
}
}

/**
* @testdox can perform a HTTP GET request
Expand Down

0 comments on commit e3f6ebf

Please sign in to comment.