diff options
author | Marius Ursache <marius@marius.me.uk> | 2016-02-26 22:45:29 +1100 |
---|---|---|
committer | Marius Ursache <marius@marius.me.uk> | 2016-02-26 22:45:29 +1100 |
commit | 4d2ec773b833b06fd6925502eb4ac512b1274b86 (patch) | |
tree | 663b6dfc978ab27b4572907c82a7dee5721e7d95 | |
parent | b88771821a3393a44c44e26225a8726943b4e99a (diff) | |
download | sequelpro-4d2ec773b833b06fd6925502eb4ac512b1274b86.tar.gz sequelpro-4d2ec773b833b06fd6925502eb4ac512b1274b86.tar.bz2 sequelpro-4d2ec773b833b06fd6925502eb4ac512b1274b86.zip |
Fixed testCopyTableFromTo_NoPermissions test
Fixing testCopyTableFromTo_NoPermissions not using the mockConnection.
-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]; } |