Permalink
Browse files

Fix fatal errors in test stub.

non-abstract public methods need to have bodies.
  • Loading branch information...
1 parent 487dc44 commit 3f0b2757a9cce6176461485aa52e7373d222348c @markstory markstory committed Jan 7, 2014
Showing with 6 additions and 3 deletions.
  1. +6 −3 Test/TestApp/Plugin/TestPlugin/Database/Driver/TestSource.php
@@ -89,7 +89,8 @@ public function quote($value, $type) {
* (select, insert, update, delete)
* @return callable
*/
- public function queryTranslator($type);
+ public function queryTranslator($type) {
+ }
/**
* Get the schema dialect.
@@ -102,7 +103,8 @@ public function queryTranslator($type);
*
* @return Cake\Database\Schema\BaseSchema
*/
- public function schemaDialect();
+ public function schemaDialect() {
+ }
/**
* Quotes a database identifier (a column name, table name, etc..) to
@@ -111,6 +113,7 @@ public function schemaDialect();
* @param string $identifier
* @return string
*/
- public function quoteIdentifier($identifier);
+ public function quoteIdentifier($identifier) {
+ }
}

0 comments on commit 3f0b275

Please sign in to comment.