Log message #4056772

# At Username Text
# Jul 25th 2017, 14:15 cleptric Uhh, that looks cool
# Jul 25th 2017, 14:14 neon1024 This feels like an appropriate time to plug https://habitica.com
# Jul 25th 2017, 14:14 lorenzo Long meeting days
# Jul 25th 2017, 14:14 jeremyharris :)
# Jul 25th 2017, 14:13 neon1024 It’s super effective!
# Jul 25th 2017, 14:13 slackebot1 Action: neon1024 casts refactor
# Jul 25th 2017, 14:13 neon1024 Heh :)
# Jul 25th 2017, 14:13 slackebot1 Action: jeremyharris heals your code for 50 hp aka coverage
# Jul 25th 2017, 14:13 jeremyharris I’m like that guy in the background that just heals
# Jul 25th 2017, 14:12 neon1024 #3 Signs you’ve been playing too much Total War: Warhammer
# Jul 25th 2017, 14:12 neon1024 At least the artillery unit has arrived with @jeremyharris at the helm
# Jul 25th 2017, 14:12 neon1024 I tried to introduce a hero unit the battlefield in the form of @lorenzo but he’s taking a long time to cast his spells!
# Jul 25th 2017, 14:11 neon1024 It’s attritional stuff!
# Jul 25th 2017, 14:11 neon1024 This is day 3
# Jul 25th 2017, 14:11 neon1024 It’s a long drawn out battle
# Jul 25th 2017, 14:11 neon1024 Just this test class between me and victory at the moment
# Jul 25th 2017, 14:10 joris_ ha ok, was just curious :P
# Jul 25th 2017, 14:10 neon1024 But if you ever need to manage and track affiliate links from your website, I could help
# Jul 25th 2017, 14:09 neon1024 I could ask them, but I doubt it would be of any use to anyone, being that it’s tightly coupled to some of our internal systems
# Jul 25th 2017, 14:09 joris_ That's what i meant :P
# Jul 25th 2017, 14:09 neon1024 It will not be open sourced, as it belongs to my work
# Jul 25th 2017, 14:08 neon1024 It already is a Cake plugin
# Jul 25th 2017, 14:08 joris_ @neon1024 Gonna launch ExitLinks as a Cake plugin ? :P
# Jul 25th 2017, 14:07 jeremyharris fwiw I’m working on a plugin that’ll lazy load your fixtures so you can add them all to every test and not worry about them all loading for each test case
# Jul 25th 2017, 14:05 neon1024 Ah yes, I can’t as I don’t need the fixtures in all the tests
# Jul 25th 2017, 14:04 neon1024 Hm, I might refactor the fixturizing into setUp
# Jul 25th 2017, 14:03 neon1024 Perhaps my test class is wrong? https://pastebin.com/aH4EG4Ne
# Jul 25th 2017, 14:02 neon1024 Well any test, as long as I run them in isolation
# Jul 25th 2017, 14:02 jeremyharris looks a tad incomplete, so I’m spitballing here
# Jul 25th 2017, 14:02 jeremyharris that doesn’t explain why the first test passes though
# Jul 25th 2017, 14:01 jeremyharris maybe you need to provide a primary key? `'_constraints' => ['primary' => ['type' => 'primary', 'columns' => ['id']]],`
# Jul 25th 2017, 14:00 neon1024 It’s like it drops the table, but then doesn’t re-insert the fixtures aftwards
# Jul 25th 2017, 13:59 neon1024 If I run the whole class of tests, I get failures
# Jul 25th 2017, 13:59 neon1024 What’s more, if I run this test by itsself it passes
# Jul 25th 2017, 13:59 jeremyharris yeah
# Jul 25th 2017, 13:59 neon1024 Which would both make sense and also explain why when I pull an instance of the ExitLinks table from the TableRegistry I can get a schema instance from it
# Jul 25th 2017, 13:58 inoas admad well then nvm
# Jul 25th 2017, 13:56 neon1024 It’s my understanding that the fixture schema is built from the fields property
# Jul 25th 2017, 13:56 neon1024 https://pastebin.com/AWaus9e4
# Jul 25th 2017, 13:56 admad inoas: discuss what? phpnut is cake's representive on fig but no one on the team is really inclined on spending time on fig discussions
# Jul 25th 2017, 13:55 neon1024 ..because $table->getSchema() returns a schema instance