# |
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 |
# |
Aug 30th 2019, 07:31 |
javier.villanueva |
authentication is for identify users (login...) |
# |
Aug 30th 2019, 07:30 |
yadav.manu36 |
HI all Can you explain what different between authorization and authentication plugins. |
# |
Aug 30th 2019, 07:30 |
javier.villanueva |
I need to exec the command two or three times and finally works...but is strange xD |
# |
Aug 30th 2019, 07:28 |
javier.villanueva |
@rchavik i have no problems to delete database |
# |
Aug 30th 2019, 07:27 |
javier.villanueva |
yes |
# |
Aug 30th 2019, 07:23 |
conehead |
And if you always run just one test it sometimes runs and sometimes fails? |
# |
Aug 30th 2019, 07:05 |
javier.villanueva |
@conehead vendor\bin\phpunit |
# |
Aug 30th 2019, 06:59 |
conehead |
@javier.villanueva How do you run the tests? |
# |
Aug 30th 2019, 06:58 |
conehead |
Morning |
# |
Aug 30th 2019, 06:47 |
alexdd55976 |
morning fellows |
# |
Aug 30th 2019, 06:33 |
admad |
test |
# |
Aug 30th 2019, 06:20 |
javier.villanueva |
any idea to check? |
# |
Aug 30th 2019, 06:19 |
javier.villanueva |
and sometimes works the test : / |
# |
Aug 30th 2019, 06:19 |
javier.villanueva |
sometimes with a table or another table |
# |
Aug 30th 2019, 06:19 |
javier.villanueva |
Hi. I have the next error in tests : Unable to insert fixtures for "App\Test\TestCase\Controller\StoresControllerTest" test case. SQLSTATE[HY000]: General error: 1030 Got error -1 "Internal error < 0 (Not system error)" from storage engine InnoDB in [C:\xampp\htdocs\mycake\vendor\cakephp\cakephp\src\TestSuite\Fixture\FixtureManager.php, line 380 |
# |
Aug 30th 2019, 06:06 |
rchavik |
heh lowercase admad here? |
# |
Aug 30th 2019, 05:20 |
javier.villanueva |
morning all |
# |
Aug 30th 2019, 05:14 |
conehead |
If that is the case I would not give the entity the logic to decide if to convert or not |
# |
Aug 30th 2019, 05:13 |
conehead |
You pull the data once and store it into database and then always view/edit them? |
# |
Aug 30th 2019, 05:13 |
turkles |
so if I need to edit entries it isn't as intensive |
# |
Aug 30th 2019, 05:13 |
turkles |
and reference my array using Entity::array |
# |
Aug 30th 2019, 05:12 |
turkles |
I suppose I could move the conversion back to where I am processing the api data |
# |
Aug 30th 2019, 05:11 |
turkles |
I use TINYINT(2) |