Log message #4182416

# At Username Text
# Apr 5th 2019, 15:21 ricksaccous and if Users and roles are complaining about not being associated be sure you have the association set up correctly in the Users module
# Apr 5th 2019, 15:20 ricksaccous 'associated => ['Users' => ['validate' => true, 'associated' => ['Roles']]
# Apr 5th 2019, 15:19 joopm but when i tried to save the Users.Roles it statethat no association between users and roles
# Apr 5th 2019, 15:19 ricksaccous because you're associated array is not formatted correctly
# Apr 5th 2019, 15:19 joopm its executed without error
# Apr 5th 2019, 15:19 joopm when i try only Users
# Apr 5th 2019, 15:19 joopm Users and Roles does not saved
# Apr 5th 2019, 15:18 joopm $this->People->save($person,['associated'=>['Users','Users.Roles']])
# Apr 5th 2019, 15:18 joopm $person = $this->People->patchEntity($person, $this->request->getData(),['associated'=>['Users'=>['validate'=>true],'Users.Roles']]);
# Apr 5th 2019, 15:18 joopm but
# Apr 5th 2019, 15:18 joopm i thought it will works as normally
# Apr 5th 2019, 15:17 joopm i would like to save association in my plugin
# Apr 5th 2019, 15:17 joopm hello all
# Apr 5th 2019, 15:10 dereuromark consume() sure is problematic if the config is not restored/resetted
# Apr 5th 2019, 15:09 dereuromark integration test cases usually go through the whole dispatching process
# Apr 5th 2019, 15:09 dereuromark why shouldnt it?
# Apr 5th 2019, 15:09 neon1024 Very odd
# Apr 5th 2019, 15:08 neon1024 `ConnectionManager::drop('SamKnows');`
# Apr 5th 2019, 15:08 neon1024 I have to drop the config in the test-case
# Apr 5th 2019, 15:08 neon1024 ..and I am getting a config collision in my test case
# Apr 5th 2019, 15:08 neon1024 Because my Application has `ConnectionManager::setConfig(Configure::consume('Webservices'));`
# Apr 5th 2019, 15:07 neon1024 Is Application::bootstrap called for each test case?
# Apr 5th 2019, 14:52 neon1024 It’s green! :green_heart: One down, 62 to go 8)
# Apr 5th 2019, 14:46 neon1024 I can’t decide if I hate the new api, or the logic inversion more
# Apr 5th 2019, 14:45 neon1024 Horrible imho
# Apr 5th 2019, 14:45 neon1024 I hope so!
# Apr 5th 2019, 14:45 dereuromark depends on the issue. i usually only have trouble with DST and 1 hour offsets, or leap seconds etc
# Apr 5th 2019, 14:45 ricksaccous what was the deal with the allowEmpty methods are those being replaced in 3.8?
# Apr 5th 2019, 14:43 neon1024 I must be writing fragile tests I suppose
# Apr 5th 2019, 14:43 neon1024 I don’t mind writing tests, but all too often, I write it and it works, and when I run it say a week later, everything is broken
# Apr 5th 2019, 14:38 neon1024 :,(
# Apr 5th 2019, 14:38 neon1024 ERRORS! Tests: 63, Assertions: 23, Errors: 52, Failures: 1.
# Apr 5th 2019, 14:37 dereuromark LOL
# Apr 5th 2019, 14:37 neon1024 Although it’s not looking good
# Apr 5th 2019, 14:36 neon1024 Done it with 3 passes of the regex :s
# Apr 5th 2019, 14:35 dereuromark My Upgrade tool should do fixtures
# Apr 5th 2019, 14:32 ricksaccous i'm a pleb that just bakes a new fixture and replaces the parts of the older fixture besides the data
# Apr 5th 2019, 14:28 neon1024 Kinda where I’m at https://regex101.com/r/G5CJtQ/2
# Apr 5th 2019, 14:26 neon1024 > Deprecated Error: Declaring fixtures in underscored format in TestCase::$fixtures is deprecated.
# Apr 5th 2019, 14:26 neon1024 Does anyone have a search and replace regex for fixing the fixtures?
# Apr 5th 2019, 14:21 neon1024 So it seems rector ^0.4.4 doesn’t like phpunit ^6