Support the ongoing development of Laravel.io →

637 Threads

New package Laravel 5 pending migration advisor

Hello, Laravel pending migration advisor package has been updated to laravel 5. https://github.com/...

0 Likes
0 Replies

Scrutinizer marks Eloquent save() as wrong

I'm trying to use Eloquent in one of my project works very fine. But the scrutinizer-ci tool marks t...

0 Likes
2 Replies
posted 9 years ago

Testing Events Always Results In Errors

I am using the most updated version of L5 as of this posting which is 5.0.31. In my Controller I hav...

0 Likes
1 Replies
posted 9 years ago

Laravel 5: PHPUnit Tests Risky?

For some reason no matter what I do all tests are saying they are Risky, this includes the tests tha...

0 Likes
1 Replies
posted 9 years ago

Phpunit says my test is risky, but why?

Hi there, I am new to phpunit, watched a few videos about it and now I am trying to do a basic test...

0 Likes
1 Replies

Why Laravel over CodeIgniter?

I'm new to Laravel and have managed to install, I decided to avoid Vagrant and Virtual Box and went...

0 Likes
5 Replies

Faking a Beanstalkd Job

I am writing some unit tests to verify that my workers are working. I have the following test to ver...

0 Likes
0 Replies

Changing Database between Tests

I have a model that i like to unit test. The majority of methods use standard database functions. On...

0 Likes
2 Replies
Solved

Whoops, looks like something went wrong.

every time i try to execute the main file to check what i have done so far on localhost it always gi...

0 Likes
2 Replies

Laravel 5 Fundamental Source Code

I watched Jefferey Way's videos of laravel 5 fundamental and typed the codes. This is the source cod...

0 Likes
5 Replies

Laravel 5 auth in Codeception functional test does not work

I'm having trouble with function tests and auth: Laravel is used as a RESTfull backend. The service...

0 Likes
0 Replies
posted 9 years ago

Problem with unit tests in Laravel 5, PHPStorm, i cannot test with HTTP Request!

Hello there, I have problem when I'm trying to test through any http request, It give: Expected stat...

0 Likes
3 Replies
posted 9 years ago

How to test console response with Codeception ?

I want to test console command with codeception acceptance test. following is console command &...

0 Likes
0 Replies
posted 9 years ago

Test doesn't works if I use the relative uri

I try to use the test example in L5 and I can't understand becouse the works only if I use the compl...

0 Likes
2 Replies

How to Set Cookies During Unit Test?

In a unit test, I'm trying to set cookies when calling a route. Test code is: $response = $this->...

websterl3o liked this thread

1 Likes
1 Replies
Solved
posted 9 years ago

Failed asserting that 500 matches expected 200

Hi, Out of the box I ran phpunit which trigger the following test: <?php class ExampleTest exten...

0 Likes
6 Replies

Join Category Table on Articles query.

I am trying to join two tables so that I can get the article name and slug, with only one query as I...

0 Likes
2 Replies
Solved

Bye Virtualbox/Vagrant/Homestead, Hi Laragon

( cross posted @laracasts too, just want you guys to check this out http://goo.gl/c0uc1S ) Just foun...

0 Likes
4 Replies

Injecting Config (for testable classes)

I'm just starting out with phpspec, trying to test my Image class which uses the Config facade. This...

0 Likes
2 Replies

Testing not working on fresh Laravel 5 install

Hi there, I have created a fresh new laravel 5 install and done nothing more than run phpunit from t...

0 Likes
0 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.