Skip to content

Commit

Permalink
Fixed constructor
Browse files Browse the repository at this point in the history
Signed-off-by: Arnau Mora Gras <[email protected]>
  • Loading branch information
ArnyminerZ committed Dec 2, 2024
1 parent b0f7adf commit d33be3d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ class WebPushTest: PropertyTest() {
assertEquals(setOf(
// something else is ignored because it's not a recognized transport
WebPush(
ServerPublicKey().apply {
type = "p256dh"
ServerPublicKey(
type = "p256dh",
key = "BCVxsr7N_eNgVRqvHtD0zTZsEc6-VV-JvLexhqUzORcxaOzi6-AYWXvTBHm4bjyPjs7Vd8pZGH6SRpkNtoIAiw4"
}
)
)
), result.transports)
assertTrue(result.hasWebPush())
Expand Down

0 comments on commit d33be3d

Please sign in to comment.