Skip to content

Commit 8c12d78

Browse files
author
Reinier Kip
committed
Either use realistic phone numbers or ::unknown().
1 parent 93e4e71 commit 8c12d78

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Surfnet/Stepup/Tests/Identity/Event/EventSerializationAndDeserializationTest.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public function eventProvider()
115115
new Institution('Babelfish Inc.'),
116116
new SecondFactorId(static::UUID()),
117117
new SecondFactorType('sms'),
118-
new PhoneNumber('+0 (0) 000000000'),
118+
new PhoneNumber('+358 (0) 687654321'),
119119
new IdentityId(static::UUID())
120120
)
121121
],
@@ -284,7 +284,7 @@ public function eventProvider()
284284
new Institution('Babelfish Inc.'),
285285
new SecondFactorId(static::UUID()),
286286
new SecondFactorType('sms'),
287-
new PhoneNumber('+0 (0) 000000000')
287+
new PhoneNumber('+31 (0) 612345678')
288288
)
289289
],
290290
'UnverifiedSecondFactorRevokedEvent:yubikey' => [
@@ -311,7 +311,7 @@ public function eventProvider()
311311
new Institution('Babelfish Inc.'),
312312
new SecondFactorId(static::UUID()),
313313
new SecondFactorType('sms'),
314-
new PhoneNumber('+0 (0) 000000000')
314+
PhoneNumber::unknown()
315315
)
316316
],
317317
'VerifiedSecondFactorRevokedEvent:yubikey' => [
@@ -338,7 +338,7 @@ public function eventProvider()
338338
new Institution('Babelfish Inc.'),
339339
new SecondFactorId(static::UUID()),
340340
new SecondFactorType('sms'),
341-
new PhoneNumber('+0 (0) 000000000')
341+
new PhoneNumber('+1 (0) 5155550100')
342342
)
343343
],
344344
'VettedSecondFactorRevokedEvent:yubikey' => [

0 commit comments

Comments
 (0)