8000 - · symfony/symfony@3542973 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3542973

Browse files
committed
-
1 parent 1a6e99b commit 3542973

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/Symfony/Component/Mailer/Tests/Transport/DsnTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ public static function getBooleanOptionProvider(): iterable
127127
yield [false, 'scheme://localhost?enabled=off', 'enabled', false];
128128
yield [false, 'scheme://localhost?enabled=no', 'enabled', false];
129129

130-
yield [false, 'scheme://localhost?enabled=foobar', 'enabled', false];
130+
yield [false, 'scheme://localhost', 'not_existant', false];
131+
yield [true, 'scheme://localhost', 'not_existant', true];
131132
}
132133
}

src/Symfony/Component/Notifier/Tests/Transport/DsnTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@ public static function getBooleanOptionProvider(): iterable
281281
yield [false, 'scheme://localhost?enabled=off', 'enabled', false];
282282
yield [false, 'scheme://localhost?enabled=no', 'enabled', false];
283283

284-
yield [false, 'scheme://localhost?enabled=foobar', 'enabled', false];
284+
yield [false, 'scheme://localhost', 'not_existant', false];
285+
yield [true, 'scheme://localhost', 'not_existant', true];
285286
}
286287
}

0 commit comments

Comments
 (0)
0