# |
Aug 30th 2019, 08:47 |
alexdd55976 |
when i do this: ``` public function beforeRender(EventInterface $event) { parent::beforeRender($event); $this->render('results'); } ``` |
# |
Aug 30th 2019, 08:47 |
alexdd55976 |
oh, interseting |
# |
Aug 30th 2019, 08:46 |
alexdd55976 |
whats it hashing anyway |
# |
Aug 30th 2019, 08:46 |
alexdd55976 |
i do not understand why this happens... |
# |
Aug 30th 2019, 08:45 |
dereuromark |
well, it can also be really too much depth |
# |
Aug 30th 2019, 08:44 |
alexdd55976 |
i am lost on this one |
# |
Aug 30th 2019, 08:42 |
alexdd55976 |
wtf? |
# |
Aug 30th 2019, 08:42 |
alexdd55976 |
on that? |
# |
Aug 30th 2019, 08:42 |
alexdd55976 |
> C:\webroot\ng\vendor\cakephp\cakephp\src\Utility\Hash.php |
# |
Aug 30th 2019, 08:41 |
alexdd55976 |
but on what? |
# |
Aug 30th 2019, 08:41 |
dereuromark |
recursion is fun |
# |
Aug 30th 2019, 08:40 |
alexdd55976 |
:thinking_face: |
# |
Aug 30th 2019, 08:40 |
alexdd55976 |
`Maximum function nesting level of '256' reached, aborting!` |
# |
Aug 30th 2019, 08:08 |
neon1024 |
:thumbsup: |
# |
Aug 30th 2019, 08:08 |
javier.villanueva |
thanks neon |
# |
Aug 30th 2019, 08:08 |
javier.villanueva |
ok... works |
# |
Aug 30th 2019, 08:08 |
javier.villanueva |
ok |
# |
Aug 30th 2019, 08:08 |
neon1024 |
Did you try `vendor/bin/phpunit --filter StoresTableTest` |
# |
Aug 30th 2019, 08:07 |
yadav.manu36 |
@javier.villanueva and @rchavik thanks for clear difference |
# |
Aug 30th 2019, 08:07 |
javier.villanueva |
<phpunit colors="true" processIsolation="false" stopOnFailure="false" bootstrap="tests/bootstrap.php" |
# |
Aug 30th 2019, 08:07 |
neon1024 |
Yeah probably do, as it’s in the app :slightly_smiling_face: |
# |
Aug 30th 2019, 08:07 |
neon1024 |
https://github.com/cakephp/app/blob/master/phpunit.xml.dist#L6 |
# |
Aug 30th 2019, 08:06 |
neon1024 |
Do you have the `test/bootstrap.php` in your `phpunit.xml`? |
# |
Aug 30th 2019, 08:06 |
neon1024 |
As you’re running the test class directly |
# |
Aug 30th 2019, 08:06 |
neon1024 |
So yeah missing bootstrap |
# |
Aug 30th 2019, 08:06 |
javier.villanueva |
vendor\bin\phpunit tests\TestCase\Model\Table\StoresTableTest.php |
# |
Aug 30th 2019, 08:05 |
neon1024 |
How are you running the test? |
# |
Aug 30th 2019, 08:05 |
javier.villanueva |
nop |
# |
Aug 30th 2019, 08:04 |
neon1024 |
Missing bootstrap.php file? |
# |
Aug 30th 2019, 08:00 |
javier.villanueva |
with empty string in datasource configuration |
# |
Aug 30th 2019, 08:00 |
javier.villanueva |
mm, when I try a single test : " The datasource configuration "" was not found." |
# |
Aug 30th 2019, 07:57 |
dereuromark |
a relict to have them this way. imo those should be rewritten to migration files. |
# |
Aug 30th 2019, 07:56 |
dereuromark |
those are just showing possible schema for those tables |
# |
Aug 30th 2019, 07:50 |
noel |
Morning all. What's the Schema system in CakePHP for and how does it relate to Migrations? I notice I have a config/schema folder with i18n.sql and session.sql... not sure what to do with that? Are those files related to the Schema system? |
# |
Aug 30th 2019, 07:49 |
javier.villanueva |
usually works in the second try |
# |
Aug 30th 2019, 07:48 |
javier.villanueva |
I think that is a local problem... |
# |
Aug 30th 2019, 07:47 |
javier.villanueva |
same problem |
# |
Aug 30th 2019, 07:46 |
javier.villanueva |
ok |
# |
Aug 30th 2019, 07:44 |
conehead |
Villa can you try a different database? |
# |
Aug 30th 2019, 07:32 |
javier.villanueva |
(permissions) |
# |
Aug 30th 2019, 07:32 |
javier.villanueva |
authorization is for define what things can do |