File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change 1111
1212namespace Symfony \Component \Notifier \Bridge \Smsbox \Tests ;
1313
14+ use PHPUnit \Framework \Attributes \TestWith ;
1415use PHPUnit \Framework \TestCase ;
1516use Symfony \Component \Intl \Countries ;
1617use Symfony \Component \Notifier \Bridge \Smsbox \Enum \Charset ;
@@ -130,10 +131,8 @@ public function testDateTimeIsInPast()
130131 ->dateTime (new \DateTimeImmutable ('-1 day ' ));
131132 }
132133
133- /**
134- * @testWith [0]
135- * [9]
136- */
134+ #[TestWith([0 ])]
135+ #[TestWith([9 ])]
137136 public function testMaxPartIsInvalid (int $ maxPart )
138137 {
139138 $ this ->expectException (InvalidArgumentException::class);
@@ -143,10 +142,8 @@ public function testMaxPartIsInvalid(int $maxPart)
143142 ->maxParts ($ maxPart );
144143 }
145144
146- /**
147- * @testWith [4]
148- * [1441]
149- */
145+ #[TestWith([4 ])]
146+ #[TestWith([1441 ])]
150147 public function testValidityIsInvalid (int $ validity )
151148 {
152149 $ this ->expectException (InvalidArgumentException::class);
You can’t perform that action at this time.
0 commit comments