Skip to content

Commit 4f75fc0

Browse files
authored
Merge branch '4.2-dev' into j4/plugins/sitestatus
2 parents 2a95587 + 29f69c9 commit 4f75fc0

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

tests/Unit/Libraries/Cms/Plugin/CMSPluginTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -460,9 +460,9 @@ public function testDispatchLegacyListener()
460460
$plugin = new class($dispatcher, []) extends CMSPlugin
461461
{
462462
public function registerTestListener()
463-
{
464-
parent::registerLegacyListener('onTest');
465-
}
463+
{
464+
parent::registerLegacyListener('onTest');
465+
}
466466

467467
public function onTest()
468468
{
@@ -489,9 +489,9 @@ public function testDispatchLegacyListenerWhenNullIsReturned()
489489
$plugin = new class($dispatcher, []) extends CMSPlugin
490490
{
491491
public function registerTestListener()
492-
{
493-
parent::registerLegacyListener('onTest');
494-
}
492+
{
493+
parent::registerLegacyListener('onTest');
494+
}
495495

496496
public function onTest()
497497
{}

tests/Unit/Plugin/Task/Requests/Extension/RequestsPluginTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ class RequestsPluginTest extends UnitTestCase
4444
* @since __DEPLOY_VERSION__
4545
*/
4646
public function setUp(): void
47-
{
47+
{
4848
if (is_dir(__DIR__ . '/tmp'))
4949
{
5050
Folder::delete(__DIR__ . '/tmp');
5151
}
52-
}
52+
}
5353

5454
/**
5555
* Cleanup
@@ -59,12 +59,12 @@ public function setUp(): void
5959
* @since __DEPLOY_VERSION__
6060
*/
6161
public function tearDown(): void
62-
{
62+
{
6363
if (is_dir(__DIR__ . '/tmp'))
6464
{
6565
Folder::delete(__DIR__ . '/tmp');
6666
}
67-
}
67+
}
6868

6969
/**
7070
* @testdox can perform a HTTP GET request

0 commit comments

Comments
 (0)