summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorwei <>2006-07-16 06:19:36 +0000
committerwei <>2006-07-16 06:19:36 +0000
commitc7d41e5bea4a5f96979a08da9cc9f79355edfe70 (patch)
tree8f21cba052c1eae7c7204ac272dd8c5e9d6fe110 /tests
parentaf68030fcf0c266300feb2c100149ecadef7d364 (diff)
Update Time Tracker demo.
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/SQLMap/BaseTest.php6
-rw-r--r--tests/unit/SQLMap/InheritanceTest.php2
-rw-r--r--tests/unit/SQLMap/sqlite/tests.dbbin32768 -> 32768 bytes
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/SQLMap/BaseTest.php b/tests/unit/SQLMap/BaseTest.php
index ebff9c6d..0f3ce1e2 100644
--- a/tests/unit/SQLMap/BaseTest.php
+++ b/tests/unit/SQLMap/BaseTest.php
@@ -175,7 +175,7 @@ class HundredsBool implements ITypeHandlerCallback
return 200;
}
- public function createNewInstance()
+ public function createNewInstance($data=null)
{
throw new TDataMapperException('can not create');
}
@@ -203,7 +203,7 @@ class OuiNonBool implements ITypeHandlerCallback
return self::NO;
}
- public function createNewInstance()
+ public function createNewInstance($data=null)
{
throw new TDataMapperException('can not create');
}
@@ -225,7 +225,7 @@ class TDateTimeHandler implements ITypeHandlerCallback
return $parameter;
}
- public function createNewInstance()
+ public function createNewInstance($data=null)
{
return new TDateTime;
}
diff --git a/tests/unit/SQLMap/InheritanceTest.php b/tests/unit/SQLMap/InheritanceTest.php
index 24e9f987..9ace1c29 100644
--- a/tests/unit/SQLMap/InheritanceTest.php
+++ b/tests/unit/SQLMap/InheritanceTest.php
@@ -138,7 +138,7 @@ class CustomInheritance implements ITypeHandlerCallback
throw new TDataMapperException('not implemented');
}
- public function createNewInstance()
+ public function createNewInstance($data=null)
{
throw new TDataMapperException('can not create');
}
diff --git a/tests/unit/SQLMap/sqlite/tests.db b/tests/unit/SQLMap/sqlite/tests.db
index fa66b2cc..380ef8fa 100644
--- a/tests/unit/SQLMap/sqlite/tests.db
+++ b/tests/unit/SQLMap/sqlite/tests.db
Binary files differ