# |
May 20th 2017, 10:24 |
saeideng |
oh |
# |
May 20th 2017, 10:24 |
birdy247 |
Its my first test :) |
# |
May 20th 2017, 10:24 |
saeideng |
how you use phpunit? |
# |
May 20th 2017, 10:23 |
birdy247 |
How do I do that? |
# |
May 20th 2017, 10:23 |
saeideng |
echo your Failure message in console |
# |
May 20th 2017, 10:21 |
birdy247 |
This is my code |
# |
May 20th 2017, 10:20 |
saeideng |
and result of assertContains ? |
# |
May 20th 2017, 10:19 |
BurgerNix |
dude, use pastebin |
# |
May 20th 2017, 10:17 |
birdy247 |
That shows my fixture |
# |
May 20th 2017, 10:16 |
saeideng |
debug($result) |
# |
May 20th 2017, 10:15 |
birdy247 |
doesnt work |
# |
May 20th 2017, 10:15 |
birdy247 |
$this->assertContains($expected, $result); |
# |
May 20th 2017, 10:15 |
birdy247 |
$expected = [ ['id' => 1, 'organiser_id' => 1], ]; |
# |
May 20th 2017, 10:15 |
slackebot |
'sendgrid_list_id' => 1 ], |
# |
May 20th 2017, 10:15 |
slackebot |
feugiat. Convallis morbi fringilla gravida, phasellus feugiat dapibus velit nunc, pulvinar eget sollicitudin venenatis cum nullam, vivamus ut a sed, mollitia lectus. Nulla vestibulum massa neque ut et, id hendrerit sit, feugiat in taciti enim proin nibh, tempor dignissim, rhoncus duis vestibulum nunc mattis convallis.', 'title_color' => 'Lorem ipsum dolor sit amet', 'hidden' => 1, 'cover_bg_pos' => 'Lorem ipsum dolor |
# |
May 20th 2017, 10:15 |
slackebot |
duis vestibulum nunc mattis convallis.', 'img' => 'Lorem ipsum dolor sit amet', 'cover_img' => 'Lorem ipsum dolor sit amet', 'created' => '2017-05-18 07:57:44', 'modified' => '2017-05-18 07:57:44', 'lat' => 1.5, 'lng' => 1.5, 'user_id' => 1, 'feature' => 1, 'slug' => 'Lorem ipsum dolor sit amet', 'directions' => 'Lorem ipsum dolor sit |
# |
May 20th 2017, 10:15 |
birdy247 |
[ 'id' => 1, 'organiser_id' => 1, 'name' => 'Lorem ipsum dolor sit amet', 'description' => 'Lorem ipsum dolor sit amet, aliquet feugiat. Convallis morbi fringilla gravida, phasellus feugiat dapibus velit nunc, pulvinar eget sollicitudin venenatis cum nullam, vivamus ut a sed, mollitia lectus. Nulla vestibulum massa neque ut et, id hendrerit sit, feugiat in taciti enim proin nibh, tempor digniss |
# |
May 20th 2017, 10:15 |
birdy247 |
This is the fixture |
# |
May 20th 2017, 10:15 |
birdy247 |
I simply want to assert that the result of the find contains a few values |
# |
May 20th 2017, 10:14 |
birdy247 |
for a custom finder |
# |
May 20th 2017, 10:14 |
birdy247 |
I am trying to make a basic test |
# |
May 20th 2017, 10:14 |
BurgerNix |
I compared both baked and handmade - can't see difference |
# |
May 20th 2017, 10:14 |
BurgerNix |
it work when I baked articles too |
# |
May 20th 2017, 10:13 |
BurgerNix |
tags - backed |
# |
May 20th 2017, 10:13 |
BurgerNix |
articles controller, view and model made by my hands |
# |
May 20th 2017, 10:12 |
BurgerNix |
example "CMS" from the book |
# |
May 20th 2017, 10:12 |
BurgerNix |
it returns false |
# |
May 20th 2017, 10:12 |
BurgerNix |
I can't get grab tags associated with articles via $this->tags |
# |
May 20th 2017, 09:51 |
xuding |
anyone had this problem before? |
# |
May 20th 2017, 09:51 |
xuding |
for some tables. |
# |
May 20th 2017, 09:51 |
xuding |
My CakePHP 3 test suite is loading data from $default connection instead of $test |
# |
May 20th 2017, 09:50 |
xuding |
Good Afternoon |
# |
May 20th 2017, 08:30 |
BurgerNix |
evening |
# |
May 20th 2017, 08:21 |
birdy247 |
morning |
# |
May 20th 2017, 05:51 |
ooo |
join |
# |
May 20th 2017, 04:13 |
joshuaso91 |
who here has use bootstrapUI for CakePHP |
# |
May 20th 2017, 01:28 |
joshuaso91 |
I tried to follow the instruction from FriendsOfCake but it still seem like it is working |
# |
May 20th 2017, 01:28 |
joshuaso91 |
has anyone use Boostrap UI for CakePHP?? |
# |
May 20th 2017, 01:16 |
royalty |
didn't realize that till now that dynamically added fields are not considered via the submit button |
# |
May 20th 2017, 01:15 |
royalty |
nevermind this is more of a javascript thing... |
# |
May 20th 2017, 01:14 |
royalty |
interesting |