Browse Source

unit test fix

yogevbd 6 years ago
parent
commit
f2137fc65c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lib/ios/ReactNativeNavigationTests/RNNTransitionStateHolderTest.m

+ 1
- 1
lib/ios/ReactNativeNavigationTests/RNNTransitionStateHolderTest.m View File

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