瀏覽代碼

unit test fix

yogevbd 6 年之前
父節點
當前提交
f2137fc65c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      lib/ios/ReactNativeNavigationTests/RNNTransitionStateHolderTest.m

+ 1
- 1
lib/ios/ReactNativeNavigationTests/RNNTransitionStateHolderTest.m 查看文件

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