@@ -87,7 +87,7 @@ - (void)testGetPaddingFull {
8787 padding.bottom = [IterableInAppManager decodePadding: [payload objectForKey: @" bottom" ]];
8888 padding.right = [IterableInAppManager decodePadding: [payload objectForKey: @" right" ]];
8989
90- XCTAssertTrue (UIEdgeInsetsEqualToEdgeInsets (insets , UIEdgeInsetsZero));
90+ XCTAssertTrue (UIEdgeInsetsEqualToEdgeInsets (padding , UIEdgeInsetsZero));
9191}
9292
9393- (void )testGetPaddingCenter {
@@ -104,7 +104,7 @@ - (void)testGetPaddingCenter {
104104 padding.bottom = [IterableInAppManager decodePadding: [payload objectForKey: @" bottom" ]];
105105 padding.right = [IterableInAppManager decodePadding: [payload objectForKey: @" right" ]];
106106
107- XCTAssertTrue (UIEdgeInsetsEqualToEdgeInsets (insets , UIEdgeInsetsMake (-1 , 0 , -1 , 0 )));
107+ XCTAssertTrue (UIEdgeInsetsEqualToEdgeInsets (padding , UIEdgeInsetsMake (-1 , 0 , -1 , 0 )));
108108}
109109
110110- (void )testGetPaddingTop {
@@ -121,7 +121,7 @@ - (void)testGetPaddingTop {
121121 padding.bottom = [IterableInAppManager decodePadding: [payload objectForKey: @" bottom" ]];
122122 padding.right = [IterableInAppManager decodePadding: [payload objectForKey: @" right" ]];
123123
124- XCTAssertTrue (UIEdgeInsetsEqualToEdgeInsets (insets , UIEdgeInsetsMake (0 , 0 , -1 , 0 )));
124+ XCTAssertTrue (UIEdgeInsetsEqualToEdgeInsets (padding , UIEdgeInsetsMake (0 , 0 , -1 , 0 )));
125125}
126126
127127- (void )testGetPaddingBottom {
@@ -137,7 +137,7 @@ - (void)testGetPaddingBottom {
137137 padding.bottom = [IterableInAppManager decodePadding: [payload objectForKey: @" bottom" ]];
138138 padding.right = [IterableInAppManager decodePadding: [payload objectForKey: @" right" ]];
139139
140- XCTAssertTrue (UIEdgeInsetsEqualToEdgeInsets (insets , UIEdgeInsetsMake (-1 , 0 , 0 , 0 )));
140+ XCTAssertTrue (UIEdgeInsetsEqualToEdgeInsets (padding , UIEdgeInsetsMake (-1 , 0 , 0 , 0 )));
141141}
142142
143143- (void )testNotificationPaddingFull {
0 commit comments