Support the ongoing development of Laravel.io →
shez1983

shez1983

Joined 31 Dec 2014

Statistics

Threads 27
Replies 230
Solutions 11
Articles 0
posted 9 years ago

Testing/Phpunit and errors/exception testing

I have googled around and came up with nothing useful... How do people test their Errors? Here is me...

0 Likes
0 Replies

testing.. setting up db etc

so what do you guys do when creating tests? I have a setup method on the testcase (parent class) tha...

0 Likes
0 Replies

caching solution? which one?

Hi So i have been looking at the caching solutions and there are so many, redis, opcache, memcache a...

0 Likes
1 Replies

how to hide page and unhide page? (using auth, middleware..)

My app allows my company to upload banners that their client can then preview.. they can login and n...

0 Likes
0 Replies

id as string?

ok so i have a country table with id, country e.g. UK => United Kingdom.. so id is a string...

0 Likes
3 Replies
replied 10 years ago

Mocks making Unit tests too long?

if you are mockng these things in other methods then maybe split them out to another function.. &...

0 Likes
replied 10 years ago

Allow only the owner of the note to view it and edit it: Middleware or FormRequest?

you should use middleware.. i am not sure what knd of flexibility you would want by giving users two...

0 Likes
replied 10 years ago

Not able to Insert all Input value in Database.

of course me asking you to debug to find out what was happening didnt help at all!

0 Likes
replied 10 years ago

Not able to Insert all Input value in Database.

did you look at rest of my post and did those things?

0 Likes
replied 10 years ago

Not able to Insert all Input value in Database.

what else do you have in model? there is a hidden field as well? also can you please do var_dumps of...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2026 Laravel.io - All rights reserved.