aboutsummaryrefslogtreecommitdiffstats
path: root/UnitTests
diff options
context:
space:
mode:
authorMarius Ursache <marius@marius.me.uk>2016-02-29 10:42:21 +1100
committerMarius Ursache <marius@marius.me.uk>2016-02-29 10:42:21 +1100
commit65319342f02d10ffee5cdcb02e554edf796089ef (patch)
treeb98084905d693ef61afa2efdf397807a8ac59999 /UnitTests
parent5e0ebdade91f72ca614c67b58d2d7a8470441b2e (diff)
downloadsequelpro-65319342f02d10ffee5cdcb02e554edf796089ef.tar.gz
sequelpro-65319342f02d10ffee5cdcb02e554edf796089ef.tar.bz2
sequelpro-65319342f02d10ffee5cdcb02e554edf796089ef.zip
Reapply "Fixed testCopyTableFromTo_NoPermissions test"
This reverts commit 0f3ce372c0c777287f81f6db2f8431a4d32f1cd4.
Diffstat (limited to 'UnitTests')
-rw-r--r--UnitTests/SPTableCopyTest.m3
1 files changed, 2 insertions, 1 deletions
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];
}