Skip to content

Commit a2c1772

Browse files
Merge branch '7.4' into 8.0
* 7.4: (31 commits) [Validator] Update Romanian translations fix tests [JsonStreamer] Fix decoding iterable lists [String][Inflector] Fix edge cases [Serializer][Validator] Add JSON schema for validating and autocompleting YAML config files [DependencyInjection] Allow adding resource tags using any config formats Fix merge Add missing Sweego Mailer Bridge webhook events [Security] Fix attribute-based chained user providers [Intl] Fix Intl::getIcuStubVersion() [Intl] Add methods to filter currencies more precisely [Notifier] Add tests for option classes Sync intl scripts [Intl] Add metadata about currencies' validtity dates Bump Symfony version to 7.3.4 Update VERSION for 7.3.3 Update CHANGELOG for 7.3.3 Bump Symfony version to 6.4.26 Update VERSION for 6.4.25 Update CONTRIBUTORS for 6.4.25 ...
2 parents 7b7ff3f + 13980aa commit a2c1772

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Tests/MercureOptionsTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,28 +18,28 @@ final class MercureOptionsTest extends TestCase
1818
{
1919
public function testConstructWithDefaults()
2020
{
21-
$this->assertSame((new MercureOptions())->toArray(), [
21+
$this->assertSame([
2222
'topics' => null,
2323
'private' => false,
2424
'id' => null,
2525
'type' => null,
2626
'retry' => null,
2727
'content' => null,
28-
]);
28+
], (new MercureOptions())->toArray());
2929
}
3030

3131
public function testConstructWithParameters()
3232
{
3333
$options = (new MercureOptions('/topic/1', true, 'id', 'type', 1, ['tag' => '1234', 'body' => 'TEST']));
3434

35-
$this->assertSame($options->toArray(), [
35+
$this->assertSame([
3636
'topics' => ['/topic/1'],
3737
'private' => true,
3838
'id' => 'id',
3939
'type' => 'type',
4040
'retry' => 1,
4141
'content' => ['tag' => '1234', 'body' => 'TEST'],
42-
]);
42+
], $options->toArray());
4343
}
4444

4545
public function testConstructWithWrongTopicsThrows()

0 commit comments

Comments
 (0)