@@ -92,7 +92,7 @@ public function testAuthKeyIsFile()
92
92
93
93
$ options = new APNs \Token \Option ();
94
94
$ options ->payload = $ payload ;
95
- $ options ->authKey = " file:// { $ this ->certs ('/fake.p8 ' )}" ;
95
+ $ options ->authKey = $ this ->certs ('/fake.p8 ' );
96
96
$ options ->keyId = 'ABCDE12345 ' ;
97
97
$ options ->teamId = 'ABCDE12345 ' ;
98
98
$ options ->topic = 'com.example.app ' ;
@@ -122,7 +122,7 @@ public function testSingleFailure()
122
122
123
123
$ options = new APNs \Token \Option ();
124
124
$ options ->payload = $ payload ;
125
- $ options ->authKey = " file:// { $ this ->certs ('/fake.p8 ' )}" ;
125
+ $ options ->authKey = $ this ->certs ('/fake.p8 ' );
126
126
$ options ->keyId = 'ABCDE12345 ' ;
127
127
$ options ->teamId = 'ABCDE12345 ' ;
128
128
$ options ->topic = 'com.example.app ' ;
@@ -152,7 +152,7 @@ public function testMultipleFailure()
152
152
153
153
$ options = new APNs \Token \Option ();
154
154
$ options ->payload = $ payload ;
155
- $ options ->authKey = " file:// { $ this ->certs ('/fake.p8 ' )}" ;
155
+ $ options ->authKey = $ this ->certs ('/fake.p8 ' );
156
156
$ options ->keyId = 'ABCDE12345 ' ;
157
157
$ options ->teamId = 'ABCDE12345 ' ;
158
158
$ options ->topic = 'com.example.app ' ;
@@ -188,14 +188,14 @@ public function testMakeOption()
188
188
189
189
$ options = new APNs \Token \Option ([
190
190
'payload ' => $ payload ,
191
- 'authKey ' => " file:// { $ this ->certs ('/fake.p8 ' )}" ,
191
+ 'authKey ' => $ this ->certs ('/fake.p8 ' ),
192
192
'keyId ' => 'ABCDE12345 ' ,
193
193
'teamId ' => 'ABCDE12345 ' ,
194
194
'topic ' => 'com.example.app ' ,
195
195
]);
196
196
197
197
self ::assertSame ($ payload , $ options ->payload );
198
- self ::assertSame (" file:// { $ this ->certs ('/fake.p8 ' )}" , $ options ->authKey );
198
+ self ::assertSame ($ this ->certs ('/fake.p8 ' ), $ options ->authKey );
199
199
self ::assertSame ('ABCDE12345 ' , $ options ->keyId );
200
200
self ::assertSame ('ABCDE12345 ' , $ options ->teamId );
201
201
self ::assertSame ('com.example.app ' , $ options ->topic );
0 commit comments