anewt-developers team mailing list archive
-
anewt-developers team
-
Mailing list archive
-
Message #00170
[Branch ~uws/anewt/anewt.uws] Rev 1738: [autorecord] Expand tests with values containing SQL template escapes
------------------------------------------------------------
revno: 1738
committer: Wouter Bolsterlee <uws@xxxxxxxxx>
branch nick: anewt.uws
timestamp: Tue 2010-01-05 20:57:33 +0100
message:
[autorecord] Expand tests with values containing SQL template escapes
This is a test case similar to the issue reported (for
obsolete code) in bug #502916. This proves the bug is not
present in the current code. :)
modified:
autorecord/autorecord.test.php
--
lp:anewt
https://code.launchpad.net/~uws/anewt/anewt.uws
Your team Anewt developers is subscribed to branch lp:anewt.
To unsubscribe from this branch go to https://code.launchpad.net/~uws/anewt/anewt.uws/+edit-subscription.
=== modified file 'autorecord/autorecord.test.php'
--- autorecord/autorecord.test.php 2009-07-21 19:19:40 +0000
+++ autorecord/autorecord.test.php 2010-01-05 19:57:33 +0000
@@ -139,7 +139,7 @@
function test_manipulation()
{
$p1 = Person::db_find_one_by_id(1);
- $p1->set('name', 'John');
+ $p1->set('name', 'This is a very ?very? strange ??int? name');
$p1->set('age', '12');
$p1->db_save();