woru
woru
- env: linux - create a migration - in the up method add an invalid sql e.g. $this->execute("drop table dssdsdsdsd"); - create a bash script or run in the command...
You example is invalid. Undefined variable results in a notice not error so result code 'success' is acceptable. Try: a.php:
Yes, it was introduced with #95. steps: - env: postgres db, PHP 5.4.6-1ubuntu1.2 - create a migration - in the up method add an invalid sql e.g. $this->execute("drop table dssdsdsdsd");...
`Functions::methodRef($object)->method()` working as `object::method` in java
Can we change injector $config in ControllerTestCase to a protected field? ``` php //given $userService = Mock::create('UserService'); $this->injectorConfig->bind('UserService')->toInstance($userService); //when $this->post('/users', [...]); //then Mock::verify($userService)->save(...); ```
We should also describe available properties like: $config['db']['attributes'][PDO::${attribute}] = true; loggers etc.
in ouzo-app addConfig is not called and $this->configRepository->reload(); fails
Why do we need _trackUpdates?
unsuccessful insert resets _updatedAttributes update does not reset _updatedAttributes probably unsuccessful update should not reset _updatedAttributes Why do we reset _updatedAttributes in Model::newInstance?
Either support conditions or throw an exception if 'condition' occurs in the relation specification. Check aliases.