aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks
diff options
context:
space:
mode:
Diffstat (limited to 'Frameworks')
-rw-r--r--Frameworks/PostgresKit/Tests/PGDataTypeTests.m8
1 files changed, 4 insertions, 4 deletions
diff --git a/Frameworks/PostgresKit/Tests/PGDataTypeTests.m b/Frameworks/PostgresKit/Tests/PGDataTypeTests.m
index a720856b..4e9d513a 100644
--- a/Frameworks/PostgresKit/Tests/PGDataTypeTests.m
+++ b/Frameworks/PostgresKit/Tests/PGDataTypeTests.m
@@ -70,8 +70,8 @@ static NSUInteger PGTestDatabasePort = 5432;
[self _addTestForField:@"bool" withExpectedResult:[NSNumber numberWithInteger:1] connection:connection toTestSuite:testSuite];
[self _addTestForField:@"float" withExpectedResult:[NSNumber numberWithFloat:12345.678] connection:connection toTestSuite:testSuite];
[self _addTestForField:@"numeric" withExpectedResult:[NSNumber numberWithDouble:12345.678] connection:connection toTestSuite:testSuite];
- [self _addTestForField:@"char" withExpectedResult:@"CHAR" connection:connection toTestSuite:testSuite];
- [self _addTestForField:@"varchar" withExpectedResult:@"VARCHAR" connection:connection toTestSuite:testSuite];
+ [self _addTestForField:@"char" withExpectedResult:[NSString stringWithString:@"CHAR"] connection:connection toTestSuite:testSuite];
+ [self _addTestForField:@"varchar" withExpectedResult:[NSString stringWithString:@"VARCHAR"] connection:connection toTestSuite:testSuite];
//[self _addTestForField:@"date" withExpectedResult: connection:connection toTestSuite:testSuite];
//[self _addTestForField:@"time" withExpectedResult: connection:connection toTestSuite:testSuite];
//[self _addTestForField:@"timetz" withExpectedResult: connection:connection toTestSuite:testSuite];
@@ -114,7 +114,7 @@ static NSUInteger PGTestDatabasePort = 5432;
- (void)testResultValueIsNotNull
{
- STAssertNotNil(_result, @"");
+ STAssertNotNil(_result, nil);
}
- (void)testResultIsOfCorrectType
@@ -124,7 +124,7 @@ static NSUInteger PGTestDatabasePort = 5432;
- (void)testResultHasCorrectValue
{
- STAssertEqualObjects(_result, _expectedResult, @"");
+ STAssertEqualObjects(_result, _expectedResult, nil);
}
#pragma mark -r