Support the ongoing development of Laravel.io →

638 Threads

request duration jumped from 30 to 150 ms

How can I check what happened with my app that the request time suddnely jumped 5 times more. I mean...

0 Likes
0 Replies

Every move i make at laravel ,laravel stuck!!

I just installed new laravel 4 fresh copy. new copy url : http://localhost/ln/public I setup config...

0 Likes
1 Replies

Can't pass variable to a class which extends another one always return NULL

class PDF extends FPDF { private $number; function setNumber($number) { $this->number = $nu...

0 Likes
5 Replies

How to mock facade from package?

Package Thujohn\Twitter; Twitter::shouldReceive() gives me error: Parse error: syntax error, unexpec...

0 Likes
4 Replies
Solved

Help with getting Tinker working in MAMP

Hey, So I use OSX 10.9, MAMP 3, and php 5.4.4. I was looking at artisan tinker and when I ran the...

0 Likes
1 Replies

What to test in a database interaction and how to test an interaction with an existing database?

Hello! I'm starting a new application to interact with an existing database. I'm building a new back...

0 Likes
3 Replies

laravel test fail in route redirection

i am testing a form. Upon success it must redirect to a route and upon failure it must return to th...

0 Likes
1 Replies

Testing custom filters

Are there any resources or examples available that discuss testing custom filter classes? Or, do you...

0 Likes
0 Replies

Turn off http output during the test

Hi, Here is an example of my test: public function testCitizenService() { $respo...

0 Likes
1 Replies
posted 10 years ago

Hi, can anyone help with setup selnium2 drive on mac and use it with laravel ?

Hi, can anyone help with setup selnium2 drive on mac and use it with laravel ?

0 Likes
0 Replies

Larapress (CMS) Architecture Discussion

Hello there! I'm currently developing a CMS called larapress and I'd like to discuss the archite...

0 Likes
9 Replies
posted 10 years ago

Running all Tests at once (phpstorm) - problem with routes

Hi! I have some functional tests where I check if a route by name is working. This test works if I r...

0 Likes
0 Replies

How to loading my config environment instead of testing config when doing phpunit?

Hi, We are a team of developers, and each one is running tests locally before commit, each one confi...

0 Likes
0 Replies

Testing classes which connect to external services

Currently I'm trying to improve my TDD (PHPspec) in Laravel, though I'm facing several problems when...

0 Likes
0 Replies

how can i store the data in different tables in db?

Hi..Recently I installed DOPTOR CMS.Really it is working good.I have one doubt,while creating the mo...

0 Likes
0 Replies
posted 10 years ago

Cannot send session cookie - headers already sent PHPUnit

Hi guys, I have this strange problem when i call the parent::setUp() on my TestCase class for unit t...

0 Likes
0 Replies

How to store multiple forms data in different tables in DB.

Hi..Recently I installed DOPTOR CMS.Really it is working good.I have one doubt,while creating the mo...

0 Likes
1 Replies

Migration

How do i use the down function only of the file in migration.

0 Likes
0 Replies

Laravel 4 code coverage

Question about code coverage: I have it running, but the result is 0% coverage every single time - i...

0 Likes
0 Replies
posted 10 years ago

Need help using Mockery's "with" statement in a loop :(

Hey guys, so I'm trying to something like below: //MyTest $this->productMock ->shouldRe...

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.