yogevbd před 6 roky
rodič
revize
f2137fc65c

+ 1
- 1
lib/ios/ReactNativeNavigationTests/RNNTransitionStateHolderTest.m Zobrazit soubor

@@ -8,7 +8,7 @@
8 8
 @implementation RNNTransitionStateHolderTest
9 9
 
10 10
 - (void)testDefaultObjectProperties {
11
-	RNNTransitionStateHolder* defaultTransitionObject = [[RNNTransitionStateHolder alloc] initWithTransition:@{@"fromId": @"hello"}];
11
+	RNNTransitionStateHolder* defaultTransitionObject = [[RNNTransitionStateHolder alloc] initWithDict:@{@"fromId": @"hello"}];
12 12
 	XCTAssertEqual(defaultTransitionObject.springDamping,  0.85);
13 13
 	XCTAssertEqual(defaultTransitionObject.springVelocity,  0.8);
14 14
 	XCTAssertEqual(defaultTransitionObject.startDelay,  0);