Support the ongoing development of Laravel.io →

637 Threads

How would you unit test Eloquent Scope Methods?

Imagine the following model: class Post extends \Illuminate\Database\Eloquent\Model { public functi...

0 Likes
0 Replies
posted 9 years ago

Mocks making Unit tests too long?

I have a Model method that makes use of several methods from other classes (Some from third party li...

0 Likes
1 Replies
posted 9 years ago

Unit testing different behavior

Hello, everyone, so found some strange mood of my php unit tests, I have for example 2 tests extende...

0 Likes
0 Replies

need help whit this angular js

i am using this https://github.com/sembrestels/angular-qr-scanner but when i put the code giving in...

0 Likes
1 Replies
posted 9 years ago

PHPUnit: Passing parameter to routes.php

I want to use PHPUnit to test a route with a specific cookie with I cannot get the cookie value from...

0 Likes
0 Replies

1 Digital Ocean Droplet + Forge + 2 websites

Hey Guys! I have an application in Laravel 4.2 running in a Droplet on Digital Ocean. I need to inst...

0 Likes
2 Replies

dynamically adding class works? but ultimately hangs app

i am writing a generic database browse/update so i have to create a new class for each table i want...

0 Likes
0 Replies

Problem with PUT request

Hello everyone, I am actually writting a API with Laravel on WAMP server, I am want to validate the...

0 Likes
2 Replies
Solved

Start a new project

Hello everyone, I want to start a new project on c9.io, Now I am a beginner at laravel so I am wonde...

0 Likes
1 Replies

How to install php artisan?

Hi guys, How to properly install php artisan? thanks in advance.

0 Likes
1 Replies

Detect pixel color

http://inettools.net/en/application/pixelcolor

0 Likes
0 Replies
posted 9 years ago

Could not load 'guard/phpunit'

I am following along with Jeffery Way's book Laravel Testing Decoded. In chapter 4 he outlines insta...

0 Likes
3 Replies
Solved

Have envoy only deploy once tests are green

I'm currently setting up a new laravel project for my personal site and rather than using any third...

0 Likes
1 Replies
posted 9 years ago

laravel 5.1 factory default language

I can use faker with language definition. $faker = Faker\Factory::create('en_US'); How adapted this...

0 Likes
1 Replies

Artisan throws error when running command

Hello, I migrated my project (built in Laravel 5) to Windows web server and when I tried to run arti...

0 Likes
3 Replies

Laravel 5.1 Mailer marked @internal

Hi getting a 'marked @internal' in PHPStorm. I can't fix the code to make the message disappear. I'a...

0 Likes
1 Replies
Solved

laravel redis

Error while reading line from the server. [tcp://localhost:6379] while broadcasting the event neithe...

0 Likes
0 Replies
posted 9 years ago

Laravel 4 Unit Tests Using Wrong Database

I have created a testing database environment as follows: return array( 'default' => 'sqlite',...

0 Likes
0 Replies
posted 10 years ago

laravel 5.0 php artisan tinker error

laravel 4.2 is no error with tinker but laravel 5.0 is error $> git clone https://github.com/lar...

0 Likes
4 Replies
Solved

InvalidArgumentException View [schools.index] not found. Please help its Urgent

I have created "categorystream" in "schools" section. I have added categorystrea...

0 Likes
12 Replies
Solved

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.