summaryrefslogtreecommitdiffstats
path: root/macosx/HandBrakeKitTests/HBJobUndoTests.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2017-04-14 18:45:22 +0200
committerDamiano Galassi <[email protected]>2017-04-14 18:45:22 +0200
commit0f29d7162df09e6d85c30380ef867a5e190630bb (patch)
tree952d6254dda0d6d36b53369b6047f34d7ce862d6 /macosx/HandBrakeKitTests/HBJobUndoTests.m
parent568aa3826cd15afc375c2f8ba3d9649dfcecaddc (diff)
MacGui: fix tests for the sandboxed schemes.
Diffstat (limited to 'macosx/HandBrakeKitTests/HBJobUndoTests.m')
-rw-r--r--macosx/HandBrakeKitTests/HBJobUndoTests.m5
1 files changed, 3 insertions, 2 deletions
diff --git a/macosx/HandBrakeKitTests/HBJobUndoTests.m b/macosx/HandBrakeKitTests/HBJobUndoTests.m
index afee23cae..b0d0be702 100644
--- a/macosx/HandBrakeKitTests/HBJobUndoTests.m
+++ b/macosx/HandBrakeKitTests/HBJobUndoTests.m
@@ -41,7 +41,7 @@
self.preset = self.manager.defaultPreset;
- NSURL *sampleURL = [NSURL fileURLWithPath:@"test.mp4"];
+ NSURL *sampleURL = [NSURL fileURLWithPath:@"/test.mp4"];
self.queue = dispatch_queue_create("fr.handbrake.testQueue", DISPATCH_QUEUE_SERIAL);
dispatch_semaphore_t sem = dispatch_semaphore_create(0);
@@ -58,7 +58,8 @@
self.title = self.core.titles.firstObject;
self.job = [[HBJob alloc] initWithTitle:self.title andPreset:self.preset];
- self.job.destURL = [NSURL fileURLWithPath:@"/Dest.mp4"];
+ self.job.outputURL = [NSURL fileURLWithPath:@"/"];
+ self.job.outputFileName = @"Dest.mp4";
NSUndoManager *undoManager = [[NSUndoManager alloc] init];
undoManager.groupsByEvent = NO;