summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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