aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/QueryKit/Tests/QKUpdateQueryTests.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-07-15 10:15:11 +0000
committerstuconnolly <stuart02@gmail.com>2012-07-15 10:15:11 +0000
commitcb00d18102f8c3f88e8a15bb4d9fb7825cf29a59 (patch)
tree8c266026ae92013dbc028a09d7d98e22bbcfbd5f /Frameworks/QueryKit/Tests/QKUpdateQueryTests.m
parentdd2c7e34d265c7a4a66b7583a186456095b545ee (diff)
downloadsequelpro-cb00d18102f8c3f88e8a15bb4d9fb7825cf29a59.tar.gz
sequelpro-cb00d18102f8c3f88e8a15bb4d9fb7825cf29a59.tar.bz2
sequelpro-cb00d18102f8c3f88e8a15bb4d9fb7825cf29a59.zip
Add a new order by class.
Diffstat (limited to 'Frameworks/QueryKit/Tests/QKUpdateQueryTests.m')
-rw-r--r--Frameworks/QueryKit/Tests/QKUpdateQueryTests.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/Frameworks/QueryKit/Tests/QKUpdateQueryTests.m b/Frameworks/QueryKit/Tests/QKUpdateQueryTests.m
index 65c31dae..cd1fb848 100644
--- a/Frameworks/QueryKit/Tests/QKUpdateQueryTests.m
+++ b/Frameworks/QueryKit/Tests/QKUpdateQueryTests.m
@@ -78,6 +78,8 @@
{
NSString *query = [NSString stringWithFormat:@"WHERE `%@` %@ %@", QKTestFieldOne, [QKQueryUtilities stringRepresentationOfQueryOperator:QKEqualityOperator], [NSNumber numberWithUnsignedInteger:QKTestParameterOne]];
+ NSLog(@"%@", [_query query]);
+
STAssertTrue(([[_query query] rangeOfString:query].location != NSNotFound), @"update query constraint");
}