diff options
author | Marius Ursache <marius@marius.me.uk> | 2016-02-29 10:42:21 +1100 |
---|---|---|
committer | Marius Ursache <marius@marius.me.uk> | 2016-02-29 10:42:21 +1100 |
commit | 65319342f02d10ffee5cdcb02e554edf796089ef (patch) | |
tree | b98084905d693ef61afa2efdf397807a8ac59999 /UnitTests | |
parent | 5e0ebdade91f72ca614c67b58d2d7a8470441b2e (diff) | |
download | sequelpro-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.m | 3 |
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]; } |