Anyone has completed tutorial about phpunit testing in laravel API?

|
diptarimba 2022-03-08 12:13:04
Guudu 😊 2022-03-08 11:50:48
Noo

you must try that to load huge data..

Noob Developer 2022-03-08 12:16:22
laravel_discuss-110871.jpg

Noob Developer 2022-03-08 12:16:23
laravel_discuss-110872.jpg

Noob Developer 2022-03-08 12:16:57
it gerated table but not with foreign key
bahodirov39 2022-03-08 12:19:39
Noob Developer 2022-03-08 12:16:57
it gerated table but not with foreign key

You must put foreign into last

bahodirov39 2022-03-08 12:19:52
And refresh migration
Noob Developer 2022-03-08 12:19:52
Ohk
Noob Developer 2022-03-08 12:20:03
Ohk
Noob Developer 2022-03-08 12:20:14
How to refresh
bahodirov39 2022-03-08 12:20:39
Google
Noob Developer 2022-03-08 12:20:47
Ok
diptarimba 2022-03-08 12:22:50
php artisan migrate:refresh
diptarimba 2022-03-08 12:23:52
anyone has completed tutorial about phpunit testing in laravel API?
Noob Developer 2022-03-08 12:27:07
Still don’t work bro
Noob Developer 2022-03-08 12:27:17
Same error
diptarimba 2022-03-08 12:32:26
Noob Developer 2022-03-08 12:27:07
Still don’t work bro

what the error

Noob Developer 2022-03-08 12:41:29
Noob Developer 2022-03-08 12:16:23

This

diptarimba 2022-03-08 12:42:51
Noob Developer 2022-03-08 12:41:29
This

can you show the migration of question table?

Noob Developer 2022-03-08 12:46:17
Done bro
Noob Developer 2022-03-08 12:46:39
It’s because both primary and foreign key datatype must be same
Noob Developer 2022-03-08 12:46:50
And that is why
diptarimba 2022-03-08 12:50:15
ok, if u get some problem again you can just use polymorphic, don’t need to set foreign key, sometimes i use that way
nkkverma 2022-03-08 13:21:03
Shivay Host – Domain And Hosting Provider
πŸ”₯πŸ”₯πŸ”₯
We are happy to announce that we are currently providing .IN Domain for Just 75rs. for first year on Women’s Day Offer 2022. Domain will be registered between 8th to 10th March, we can accept instantly registration.
Buy from : https://shivayhost.in
πŸ™πŸ’₯πŸ’₯πŸ’₯πŸ™
whatsapp me : https://wa.me/916376938824

πŸ‘πŸ€˜πŸ€πŸ”°

HMohibi 2022-03-08 14:01:58
Hi
I hv a problem. Laravel developers help me🧐πŸ₯³
HMohibi 2022-03-08 14:17:32
HMohibi 2022-03-08 14:01:58
Hi
I hv a problem. Laravel developers help me🧐πŸ₯³

laravel_discuss-110895.jpg
This is the error. How to solve? Plz

mazcvei 2022-03-08 14:25:21
HMohibi 2022-03-08 14:17:32
This is the error. How to solve? Plz

laravel_discuss-110896.jpg
read

BetsiFlash 2022-03-08 14:31:08
how to generate the same password for all users on laravel???
EduardR10 2022-03-08 14:35:37
segungreat 2022-03-08 10:56:03
Have you tried eager loading and also don’t load what you don’t need, like loading all articles when you need only those with specific values or characteristics

Yes. Articles tables has 10000 rows.
I only load the articles included in the quotation. Using eager loading, but the problem is the number of access to model.

BetsiFlash 2022-03-08 14:36:44
BetsiFlash 2022-03-08 14:31:08
how to generate the same password for all users on laravel???

??????☝️☝️☝️

HMohibi 2022-03-08 14:46:23
mazcvei 2022-03-08 14:25:21
read

I read but cant solve

mazcvei 2022-03-08 14:46:45
HMohibi 2022-03-08 14:46:23
I read but cant solve

apply method documentarion

HMohibi 2022-03-08 14:48:20
mazcvei 2022-03-08 14:46:45
apply method documentarion

How
can you write the code ?

mazcvei 2022-03-08 14:48:37
HMohibi 2022-03-08 14:48:20
How
can you write the code ?

read documentation

Noob Developer 2022-03-08 14:51:26
laravel_discuss-110904.jpg

Noob Developer 2022-03-08 14:51:27
laravel_discuss-110905.jpg

|