Bläddra i källkod

unit test fix

yogevbd 6 år sedan
förälder
incheckning
f2137fc65c
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      lib/ios/ReactNativeNavigationTests/RNNTransitionStateHolderTest.m

+ 1
- 1
lib/ios/ReactNativeNavigationTests/RNNTransitionStateHolderTest.m Visa fil

@@ -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);