File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
tests/OneSignal/Tests/Resolver Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,8 @@ public function resolve(array $data)
6060 ->setAllowedTypes ('include_ios_tokens ' , 'array ' )
6161 ->setDefined ('include_android_reg_ids ' )
6262 ->setAllowedTypes ('include_android_reg_ids ' , 'array ' )
63+ ->setDefined ('include_external_user_ids ' )
64+ ->setAllowedTypes ('include_external_user_ids ' , 'array ' )
6365 ->setDefined ('include_wp_uris ' )
6466 ->setAllowedTypes ('include_wp_uris ' , 'array ' )
6567 ->setDefined ('include_wp_wns_uris ' )
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ public function testResolveWithValidValues()
4444 'include_player_ids ' => ['value ' ],
4545 'include_ios_tokens ' => ['value ' ],
4646 'include_android_reg_ids ' => ['value ' ],
47+ 'include_external_user_ids ' => ['value ' ],
4748 'include_wp_uris ' => ['value ' ],
4849 'include_wp_wns_uris ' => ['value ' ],
4950 'include_amazon_reg_ids ' => ['value ' ],
@@ -139,6 +140,7 @@ public function wrongValueTypesProvider()
139140 [['include_player_ids ' => 'wrongType ' ]],
140141 [['include_ios_tokens ' => 'wrongType ' ]],
141142 [['include_android_reg_ids ' => 666 ]],
143+ [['include_external_user_ids ' => 666 ]],
142144 [['include_wp_uris ' => 666 ]],
143145 [['include_wp_wns_uris ' => 666 ]],
144146 [['include_amazon_reg_ids ' => 666 ]],
You can’t perform that action at this time.
0 commit comments