From 65319342f02d10ffee5cdcb02e554edf796089ef Mon Sep 17 00:00:00 2001 From: Marius Ursache Date: Mon, 29 Feb 2016 10:42:21 +1100 Subject: Reapply "Fixed testCopyTableFromTo_NoPermissions test" This reverts commit 0f3ce372c0c777287f81f6db2f8431a4d32f1cd4. --- UnitTests/SPTableCopyTest.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/UnitTests/SPTableCopyTest.m b/UnitTests/SPTableCopyTest.m index 20801786..563322df 100644 --- a/UnitTests/SPTableCopyTest.m +++ b/UnitTests/SPTableCopyTest.m @@ -88,8 +88,9 @@ { SPTableCopy *tableCopy = [[SPTableCopy alloc] init]; + [tableCopy setConnection:mockConnection]; - XCTAssertFalse([tableCopy copyTable:@"table_name" from:@"source_db" to:@"target_db"],@"copy operation must fail."); + XCTAssertFalse([tableCopy copyTable:@"table_name" from:@"source_db" to:@"target_db"], @"copy operation must fail."); [tableCopy release]; } -- cgit v1.2.3