Support the ongoing development of Laravel.io →

536 Threads

Store list of IDs on single column

Hello everyone! I have a relational model of three tables. And all with an N-N relationship. To simp...

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

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

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
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

New Laravel Site - Feedback Requested

Hi I've created a new site using Laravel. https://seek.estate It's a real estate website aimed at gi...

0 Likes
4 Replies

Get same values from 2 arrays (php)

The question is quite simple but i dont know how to do it. Let say i have 2 arrays: Array1( [0] =>...

0 Likes
1 Replies
posted 9 years ago

Not able to test route with prefixes

Hi there! I am trying to test the routing mechanism of my app, that was based on the documentation (...

0 Likes
1 Replies
posted 9 years ago

Open source Laravel project with good tests

I am still learning what and how to test in Laravel. However, no matter how many tutorials you read...

0 Likes
1 Replies
posted 9 years ago

UnitTesting: dealing with the "class not found" error

Hi guys! I've recently developed an extension for Laravel that uses the PECL HttpRequest library. It...

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.