@@ -22,7 +22,6 @@ class IterableHtmlMessageViewControllerTests: XCTestCase {
2222 }
2323
2424 func testWebViewTopPositioning( ) {
25- IterableAPI . initializeForTesting ( )
2625 checkPositioning ( viewPosition: ViewPosition ( width: 1234 , height: 400 , center: CGPoint ( x: 617.0 , y: 200.0 ) ) ,
2726 safeAreaInsets: . zero,
2827 inAppHeight: 200 ,
@@ -31,7 +30,6 @@ class IterableHtmlMessageViewControllerTests: XCTestCase {
3130 }
3231
3332 func testWebViewBottomPositioning( ) {
34- IterableAPI . initializeForTesting ( )
3533 checkPositioning ( viewPosition: ViewPosition ( width: 1234 , height: 400 , center: CGPoint ( x: 617.0 , y: 200.0 ) ) ,
3634 safeAreaInsets: . zero,
3735 inAppHeight: 200 ,
@@ -40,7 +38,6 @@ class IterableHtmlMessageViewControllerTests: XCTestCase {
4038 }
4139
4240 func testWebViewCenterPositioning( ) {
43- IterableAPI . initializeForTesting ( )
4441 checkPositioning ( viewPosition: ViewPosition ( width: 1234 , height: 400 , center: CGPoint ( x: 617.0 , y: 200.0 ) ) ,
4542 safeAreaInsets: . zero,
4643 inAppHeight: 200 ,
@@ -49,7 +46,6 @@ class IterableHtmlMessageViewControllerTests: XCTestCase {
4946 }
5047
5148 func testWebViewFullPositioning( ) {
52- IterableAPI . initializeForTesting ( )
5349 checkPositioning ( viewPosition: ViewPosition ( width: 1234 , height: 400 , center: CGPoint ( x: 617.0 , y: 200.0 ) ) ,
5450 safeAreaInsets: . zero,
5551 inAppHeight: 200 ,
@@ -58,7 +54,6 @@ class IterableHtmlMessageViewControllerTests: XCTestCase {
5854 }
5955
6056 func testWebViewTopPositioningWithSafeAreaInsets( ) {
61- IterableAPI . initializeForTesting ( )
6257 checkPositioning ( viewPosition: ViewPosition ( width: 1234 , height: 400 , center: CGPoint ( x: 617.0 , y: 200.0 ) ) ,
6358 safeAreaInsets: UIEdgeInsets ( top: 25 , left: 0 , bottom: 30 , right: 0 ) ,
6459 inAppHeight: 200 ,
@@ -67,7 +62,6 @@ class IterableHtmlMessageViewControllerTests: XCTestCase {
6762 }
6863
6964 func testWebViewBottomPositioningWithSafeAreaInsets( ) {
70- IterableAPI . initializeForTesting ( )
7165 checkPositioning ( viewPosition: ViewPosition ( width: 1234 , height: 400 , center: CGPoint ( x: 617.0 , y: 200.0 ) ) ,
7266 safeAreaInsets: UIEdgeInsets ( top: 25 , left: 0 , bottom: 30 , right: 0 ) ,
7367 inAppHeight: 200 ,
0 commit comments