@@ -52,7 +52,7 @@ final class UID2PrebidTests: XCTestCase {
5252 )
5353 await observation (
5454 of: [
55- ExternalUserId ( source: " uidapi.com " , uids: [ . init( id : " cat " , aType: 3 ) ] )
55+ ExternalUserId ( source: " uidapi.com " , uids: [ . init( uniqueId : " cat " , aType: 3 ) ] )
5656 ] ,
5757 by: updater
5858 )
@@ -68,7 +68,7 @@ final class UID2PrebidTests: XCTestCase {
6868 )
6969 await observation (
7070 of: [
71- ExternalUserId ( source: " uidapi.com " , uids: [ . init( id : " turtle " , aType: 3 ) ] )
71+ ExternalUserId ( source: " uidapi.com " , uids: [ . init( uniqueId : " turtle " , aType: 3 ) ] )
7272 ] ,
7373 by: updater
7474 )
@@ -93,7 +93,7 @@ final class UID2PrebidTests: XCTestCase {
9393 manager: manager,
9494 thirdPartyUserIDs: {
9595 [
96- ExternalUserId ( source: " example.com " , uids: [ . init( id : " dog " , aType: 3 ) ] )
96+ ExternalUserId ( source: " example.com " , uids: [ . init( uniqueId : " dog " , aType: 3 ) ] )
9797 ]
9898 } ,
9999 userIDUpdater: updater,
@@ -106,16 +106,16 @@ final class UID2PrebidTests: XCTestCase {
106106 )
107107 await observation (
108108 of: [
109- ExternalUserId ( source: " example.com " , uids: [ . init( id : " dog " , aType: 3 ) ] ) ,
110- ExternalUserId ( source: " uidapi.com " , uids: [ . init( id : " cat " , aType: 3 ) ] ) ,
109+ ExternalUserId ( source: " example.com " , uids: [ . init( uniqueId : " dog " , aType: 3 ) ] ) ,
110+ ExternalUserId ( source: " uidapi.com " , uids: [ . init( uniqueId : " cat " , aType: 3 ) ] ) ,
111111 ] ,
112112 by: updater
113113 )
114114
115115 continuation. yield ( . invalid)
116116 await observation (
117117 of: [
118- ExternalUserId ( source: " example.com " , uids: [ . init( id : " dog " , aType: 3 ) ] ) ,
118+ ExternalUserId ( source: " example.com " , uids: [ . init( uniqueId : " dog " , aType: 3 ) ] ) ,
119119 ] ,
120120 by: updater
121121 )
@@ -148,7 +148,7 @@ final class UID2PrebidTests: XCTestCase {
148148 )
149149 await observation (
150150 of: [
151- ExternalUserId ( source: " euid.eu " , uids: [ . init( id : " cat " , aType: 3 ) ] )
151+ ExternalUserId ( source: " euid.eu " , uids: [ . init( uniqueId : " cat " , aType: 3 ) ] )
152152 ] ,
153153 by: updater
154154 )
@@ -164,7 +164,7 @@ final class UID2PrebidTests: XCTestCase {
164164 )
165165 await observation (
166166 of: [
167- ExternalUserId ( source: " euid.eu " , uids: [ . init( id : " turtle " , aType: 3 ) ] )
167+ ExternalUserId ( source: " euid.eu " , uids: [ . init( uniqueId : " turtle " , aType: 3 ) ] )
168168 ] ,
169169 by: updater
170170 )
@@ -205,7 +205,7 @@ extension UID2PrebidTests {
205205 var id : String
206206 var aType : Int
207207 init ( _ userId: UserUniqueID ) {
208- self . id = userId. id
208+ self . id = userId. uniqueId
209209 self . aType = userId. aType. intValue
210210 }
211211 }
0 commit comments