@@ -22,7 +22,6 @@ class IterableHtmlMessageViewControllerTests: XCTestCase {
22
22
}
23
23
24
24
func testWebViewTopPositioning( ) {
25
- IterableAPI . initializeForTesting ( )
26
25
checkPositioning ( viewPosition: ViewPosition ( width: 1234 , height: 400 , center: CGPoint ( x: 617.0 , y: 200.0 ) ) ,
27
26
safeAreaInsets: . zero,
28
27
inAppHeight: 200 ,
@@ -31,7 +30,6 @@ class IterableHtmlMessageViewControllerTests: XCTestCase {
31
30
}
32
31
33
32
func testWebViewBottomPositioning( ) {
34
- IterableAPI . initializeForTesting ( )
35
33
checkPositioning ( viewPosition: ViewPosition ( width: 1234 , height: 400 , center: CGPoint ( x: 617.0 , y: 200.0 ) ) ,
36
34
safeAreaInsets: . zero,
37
35
inAppHeight: 200 ,
@@ -40,7 +38,6 @@ class IterableHtmlMessageViewControllerTests: XCTestCase {
40
38
}
41
39
42
40
func testWebViewCenterPositioning( ) {
43
- IterableAPI . initializeForTesting ( )
44
41
checkPositioning ( viewPosition: ViewPosition ( width: 1234 , height: 400 , center: CGPoint ( x: 617.0 , y: 200.0 ) ) ,
45
42
safeAreaInsets: . zero,
46
43
inAppHeight: 200 ,
@@ -49,7 +46,6 @@ class IterableHtmlMessageViewControllerTests: XCTestCase {
49
46
}
50
47
51
48
func testWebViewFullPositioning( ) {
52
- IterableAPI . initializeForTesting ( )
53
49
checkPositioning ( viewPosition: ViewPosition ( width: 1234 , height: 400 , center: CGPoint ( x: 617.0 , y: 200.0 ) ) ,
54
50
safeAreaInsets: . zero,
55
51
inAppHeight: 200 ,
@@ -58,7 +54,6 @@ class IterableHtmlMessageViewControllerTests: XCTestCase {
58
54
}
59
55
60
56
func testWebViewTopPositioningWithSafeAreaInsets( ) {
61
- IterableAPI . initializeForTesting ( )
62
57
checkPositioning ( viewPosition: ViewPosition ( width: 1234 , height: 400 , center: CGPoint ( x: 617.0 , y: 200.0 ) ) ,
63
58
safeAreaInsets: UIEdgeInsets ( top: 25 , left: 0 , bottom: 30 , right: 0 ) ,
64
59
inAppHeight: 200 ,
@@ -67,7 +62,6 @@ class IterableHtmlMessageViewControllerTests: XCTestCase {
67
62
}
68
63
69
64
func testWebViewBottomPositioningWithSafeAreaInsets( ) {
70
- IterableAPI . initializeForTesting ( )
71
65
checkPositioning ( viewPosition: ViewPosition ( width: 1234 , height: 400 , center: CGPoint ( x: 617.0 , y: 200.0 ) ) ,
72
66
safeAreaInsets: UIEdgeInsets ( top: 25 , left: 0 , bottom: 30 , right: 0 ) ,
73
67
inAppHeight: 200 ,
0 commit comments