yogevbd 6 лет назад
Родитель
Сommit
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);