Support the ongoing development of Laravel.io →

638 Threads

posted 8 years ago

laravel 5.2: Error: Call to undefined method ::seeJsonStructure()

I am trying to construct some unit test for a json returning api. I found https://laravel.com/docs/5...

0 Likes
0 Replies

Trying to mock a model in Laravel 5

I'm trying to create a mock model for my controllers to use, but doesn't seem to be working <?php...

0 Likes
2 Replies

Lumen: Problem with migrations in unit tests (Class config does not exist)

Hello there! I'm trying to setup unit tests for my Lumen application. Sadly, that only works well fo...

0 Likes
10 Replies

Controllers Testing with View Composers

I have a View Composer binded to a class that get data for one repository class and add this data in...

0 Likes
4 Replies
posted 8 years ago

Perform some action in client system

Hi All, I am working on one web application that needs the functionality to open some files or open...

0 Likes
4 Replies

Cache doesn't work when running unit tests with PHPUnit

Anyone else experiencing this? Problem: During unit tests, Cache neither gets nor sets when being ca...

0 Likes
0 Replies
posted 8 years ago

phpunit Mock SNS

i have a function that receives sns notifications here is how i receive the data public function rea...

0 Likes
0 Replies
posted 8 years ago

How can i use function parameter in mockery?

http://laravel.io/bin/DeNJx#9

0 Likes
1 Replies
Solved
posted 8 years ago

EvalLoader error in unit test

i learn the TDD now, and it's my third test file... BUT, i dont know, what-s doing i wrong. can anyb...

0 Likes
0 Replies
posted 8 years ago

How to Test with Repository Pattern and Mocks

I've used the Repository Pattern a few times now, but recently started trying to get better with my...

0 Likes
1 Replies
Solved
posted 8 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

Seeding & Model Factories Between 3 Relations

I previously asked this question on the Laracasts forums at https://laracasts.com/discuss/channels/e...

0 Likes
1 Replies

Connect to remote mysql database while working locally

I'm trying to set up my local environment with MAMP. However, I want my database to point to my RDS...

0 Likes
5 Replies
Solved

Problem testing file upload

I'm trying to test a file upload but when action is touched, there is no file in Input::file. This i...

0 Likes
1 Replies
posted 8 years ago

Testing Laravel Event Listener

Hi, everyone! Have the following issue for more a while now and can't find an answer - I'm trying t...

0 Likes
1 Replies
Solved
posted 8 years ago

feature request - testing - coutElements

This is a great method published at http://blog.g-design.net/post/124707474740/counting-dom-elements...

0 Likes
0 Replies

why my apps laravel 5.1 not showing ? just white ! how do i solve it ?

like this https://www.dropbox.com/s/f5nn4t4lp4oslkc/Capture2.JPG?dl=0 i was just access to companypr...

0 Likes
2 Replies
posted 8 years ago

project preview

Hi there, I'm trying to develop a small project with laravel. I create the project with composer, an...

0 Likes
1 Replies
posted 8 years ago

Mock Carbon with laravel

Hi, i have been try to mock the Carbon object end something like shoudRecive now method, but i have...

0 Likes
2 Replies
Solved

MethodNotAllowedHttpException

Hey folks, I'm getting a MethodNotAllowedHttpException when trying to use the HTTP method DELETE for...

0 Likes
1 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

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.

© 2024 Laravel.io - All rights reserved.