a tiny mvc framework for php using php-activerecord
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fixed test_invoke_unregistered_callback so mock Model constructor doesn't fail.

+1 -1
+1 -1
lib/php-activerecord/test/CallbackTest.php
··· 176 176 */ 177 177 public function test_invoke_unregistered_callback() 178 178 { 179 - $mock = $this->get_mock('VenueCB',array()); 179 + $mock = $this->get_mock('VenueCB', array('columns')); 180 180 $this->callback->invoke($mock,'before_validation_on_create'); 181 181 } 182 182