@@ -535,8 +535,7 @@ func createTestConfigOnDevice(testSessionID uuid.UUID, info testInfo, houseArres
535
535
536
536
testBundleURL := path .Join (info .testApp .path , "PlugIns" , xctestConfigFileName )
537
537
538
- testConfig := nskeyedarchiver .NewXCTestConfiguration (info .targetApp .bundleName , testSessionID , info .targetApp .bundleID , info .targetApp .path , testBundleURL , testsToRun , testsToSkip , isXCTest , version )
539
- config := testConfig
538
+ config := nskeyedarchiver .NewXCTestConfiguration (info .targetApp .bundleName , testSessionID , info .targetApp .bundleID , info .targetApp .path , testBundleURL , testsToRun , testsToSkip , isXCTest , version )
540
539
result , err := nskeyedarchiver .ArchiveXML (config )
541
540
if err != nil {
542
541
return "" , nskeyedarchiver.XCTestConfiguration {}, err
@@ -546,7 +545,7 @@ func createTestConfigOnDevice(testSessionID uuid.UUID, info testInfo, houseArres
546
545
if err != nil {
547
546
return "" , nskeyedarchiver.XCTestConfiguration {}, err
548
547
}
549
- return xctestConfigPath , testConfig , nil
548
+ return xctestConfigPath , nskeyedarchiver . NewXCTestConfiguration ( info . targetApp . bundleName , testSessionID , info . targetApp . bundleID , info . targetApp . path , testBundleURL , testsToRun , testsToSkip , isXCTest , version ) , nil
550
549
}
551
550
552
551
func createTestConfig (info testInfo , testSessionID uuid.UUID , xctestConfigFileName string , testsToRun []string , testsToSkip []string , isXCTest bool , version * semver.Version ) nskeyedarchiver.XCTestConfiguration {
0 commit comments