aboutsummaryrefslogtreecommitdiffstats
path: root/UnitTests
diff options
context:
space:
mode:
Diffstat (limited to 'UnitTests')
-rw-r--r--UnitTests/SPDatabaseCopyTest.m2
-rw-r--r--UnitTests/SPDatabaseRenameTest.m2
2 files changed, 2 insertions, 2 deletions
diff --git a/UnitTests/SPDatabaseCopyTest.m b/UnitTests/SPDatabaseCopyTest.m
index c9a37d3c..593989de 100644
--- a/UnitTests/SPDatabaseCopyTest.m
+++ b/UnitTests/SPDatabaseCopyTest.m
@@ -76,7 +76,7 @@
NSString *source = [[NSString alloc] initWithString:@"source_name"];
NSString *target = [[NSString alloc] initWithString:@"target_name"];
- [dbCopy copyDatabaseFrom:source to:target withContent:YES];
+ STAssertTrue([dbCopy copyDatabaseFrom:source to:target withContent:YES], @"method renameDatabaseFrom:to: is supposed to return YES");
[mockConnection verify];
[source release];
diff --git a/UnitTests/SPDatabaseRenameTest.m b/UnitTests/SPDatabaseRenameTest.m
index 4e17cbb8..51562db9 100644
--- a/UnitTests/SPDatabaseRenameTest.m
+++ b/UnitTests/SPDatabaseRenameTest.m
@@ -77,7 +77,7 @@
NSString *source = [[NSString alloc] initWithString:@"source_name"];
NSString *target = [[NSString alloc] initWithString:@"target_name"];
- [dbRename renameDatabaseFrom:source to:target];
+ STAssertTrue([dbRename renameDatabaseFrom:source to:target], @"method renameDatabaseFrom:to: is supposed to return YES");
[mockConnection verify];
[source release];