Support the ongoing development of Laravel.io →

636 Threads

posted 9 years ago

Unit case problem

I can´t make the unit test of this method. Can you help me? <?php namespace Blanko\Tematic\Reposi...

0 Likes
0 Replies

Some question and thoughts from Rails -> Laravel 4.x immigrant [Validation, Usability, Functionality, API]

Hi. I'm currently using Ruby on Rails stack and thinking to move to Laravel 4.2 because of extreme p...

0 Likes
0 Replies

call controllers function without declared in Route

i want to call the controller => function without specifying in route such as controller / functi...

0 Likes
3 Replies

Is it valid to use filter to pass variables to layout?

Hi, I have a layout which requires a few variables and several controllers that use this layout. The...

0 Likes
1 Replies
Solved
posted 9 years ago

Load testing

Hi all, does anyone know a good tool to perform load testing ? (I used JMeter but I need another too...

0 Likes
0 Replies
posted 9 years ago

test is green when should be red!!

Hello. I am a TDD beginner (just 150-200 tests done), I am passing some tests, but I am surprised, b...

0 Likes
1 Replies
posted 9 years ago

Unit Testing and impact of using 'use' to import classes into scope

Hi, I have been banging my head on the wall trying to figure this out : When ever we add a 'use Clas...

0 Likes
3 Replies
Solved

testing error

Hi Im having issues running tests migrations for example I have a package that add a column to the u...

0 Likes
0 Replies

unittest migrate vendor package with SQLite

Hi, I'm using the Sentry package how can manage this setup public function setUpDb() { A...

0 Likes
1 Replies

Input::has('name') is working in Laravel 4.0.9?

I tried method Input::has('name') But even i click to choosed image, it still return false. Is this...

0 Likes
5 Replies
Solved

unit test General error: 1 Cannot add a NOT NULL column

Hi, be patience I'm quite new at unit test in laravel I've this migrations use Illuminate\Database\S...

0 Likes
0 Replies

Testing and usage of the Ioc Container

I'm quite new about testing. I'm wondering what is the best way to make my classe testable. Is it be...

0 Likes
1 Replies

Testing Structure and Workbench Errors

Hello. My setup is probably a tiny bit weird but I am working on a workbench system where everyone o...

0 Likes
1 Replies

ioc or parameters?

hi, i would like to ask you how would it be better to resolve dependencies. i'm not really sure to u...

0 Likes
2 Replies
Solved
posted 9 years ago

Unit testing method wrapped with a DB::transaction closure

Hi Guys, I have been trying to get my head around this. I have a method thats wrapped with a DB::tra...

0 Likes
1 Replies

Mockery with $this->action

I can't seem to run a test with Mockery that uses $this->action instead of $this->call. I need...

0 Likes
1 Replies

Carbon::now() time changes after changing my computer time.

How can I get server time which does not change according to my computer time??

0 Likes
1 Replies
posted 9 years ago

Testing a crete method

I'm starting to work with repos and tests, and in one of my Eloquent repos I have this method: publi...

0 Likes
0 Replies

compare array values

The problem i have is the following one: I have 2 arrays: Array ( [0] => off [1] => off [2] =&...

0 Likes
1 Replies
Solved

$_ENV from local file not passing bool to config

Hello, I'm quite confused with this. Pretty much I have to environments prod and local. Prod has deb...

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