Support the ongoing development of Laravel.io →

629 Threads

Unit Tests fails with unexpected response code

I'm quite new to laravel development. I'm trying to create a unit test, which should fail (response...

0 Likes 3 Replies
Solved

laravel passport components are not loading on AMPPS (AMP stack)

When I try to check my project which is running on AMPPS (AMPPS is a cross platform AMP stack) on ub...

0 Likes 1 Replies
Solved

i can not execute Laravel's PHPUnit

hi i am using this : Laragon PHP 7.0 Laravel 5.3 i can not execute phpunit command or ./vendor/bin/p...

0 Likes 0 Replies
10 Dec, 2015 at 04:10

How To Test Authorization, or, assertResponseStatus(403)

I'm using a policy on Orders such that a User can only access their own orders. Having trouble getti...

0 Likes 3 Replies
19 Oct, 2016 at 06:59

L5.3 Unit Testing with FindOrFail ModelNotFoundException

I am writing a unit test for a route passing a $id and have a ModelNotFoundException being thrown. I...

0 Likes 0 Replies
15 Oct, 2016 at 09:58

Functional test artisan comand, that migrates multiple dynamic tenant database

So here is the picture: I have an app that creates tenant_db for each user registered. For doing tha...

0 Likes 0 Replies

Performance of Laravel on production

We are newbie start-up using Laravel for our application running in AWS Beanstalk. I just want to as...

0 Likes 2 Replies
Solved
13 Sep, 2016 at 01:51

Test Commands in Packages

Hey there, I am trying to write some tests for my commands which are within a package. I managed to...

0 Likes 2 Replies
Solved

phpunit: Permission denied

Hi all, I am currently using laravel 5.2, and using vagrant box as my development environment, in ub...

0 Likes 1 Replies
Solved

Do factories use transactions?

I also posted my question on laracast, but perhaps anyone here has the answer. Topic on laracast I'm...

0 Likes 0 Replies
2 Jul, 2015 at 01:21

5.1 Integration Testing: Typing In an Input With an Array Name

I'm using the new built in testing that comes with Laravel 5.1. Awesome stuff. But I've a problem I...

0 Likes 4 Replies

Cannot browse new Laravel site on local machine

Hello, I am trying to learn Laravel. I am using Windows 10, WAMP, Laravel version: 5.2.44 I created...

0 Likes 0 Replies

Colon Cleanse Is Freed By Tablet

Dieting under the body cleanse program Internal 911 calls for curtailment of consuming some kinds of...

0 Likes 0 Replies

Log out a user during a test

When writing tests, I can be a user: $user = User::find(1); $this->be($user); But, for a few tes...

0 Likes 5 Replies
3 Apr, 2015 at 07:29

Testing middleware (phpspec)

Is there any way to unit test middleware? I imagine this being pretty important for a multi-tenant t...

0 Likes 2 Replies

Testing with Entrust

Hello everybody, I'm quite new to Laravel, and I would like to start testing an application I'm writ...

0 Likes 0 Replies

Top notch HYIP design company

In the current world, everybody wants to have a great looking HYIP script template for there HYIP bu...

0 Likes 0 Replies
3 Aug, 2016 at 10:32

Possible Bug - Problem with Alias when object is passed.

I have the following code: // Departments $physics = factory(App\Base\Academy\Department::class, 1)-...

0 Likes 0 Replies
28 Jul, 2016 at 12:50

CSS code not found

Hello..i need some help of css coding...I didn't find css code in my css file....? Anyone know or ca...

0 Likes 0 Replies

Uploading in FTP server Laravel 5.2

Trying to upload files but still display error at http://www.hazzir.com/laravel.php HTTP ERROR 500...

0 Likes 0 Replies

Thanks to our community

Solutions given in the past year.

Moderators

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

Your logo here?

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

© 2021 Laravel.io - All rights reserved.