mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fix failing tests.
This commit is contained in:
parent
3e79038b06
commit
6684b775cd
2 changed files with 2 additions and 2 deletions
|
@ -815,7 +815,7 @@ class CakeRequestTest extends CakeTestCase {
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
protected function _detectCallback($request) {
|
public function _detectCallback($request) {
|
||||||
return $request->return == true;
|
return $request->return == true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -424,7 +424,7 @@ class CakeTestFixtureTest extends CakeTestCase {
|
||||||
* @param string $values
|
* @param string $values
|
||||||
* @return boolean true
|
* @return boolean true
|
||||||
*/
|
*/
|
||||||
protected function _insertCallback($table, $fields, $values) {
|
public function _insertCallback($table, $fields, $values) {
|
||||||
$this->insertMulti['table'] = $table;
|
$this->insertMulti['table'] = $table;
|
||||||
$this->insertMulti['fields'] = $fields;
|
$this->insertMulti['fields'] = $fields;
|
||||||
$this->insertMulti['values'] = $values;
|
$this->insertMulti['values'] = $values;
|
||||||
|
|
Loading…
Reference in a new issue