PDO Extension on Laravel unit testingHow do I test a private function or a class that has private methods, fields or inner classes?Unit Testing C CodeWhat is Unit test, Integration Test, Smoke test, Regression Test?Laravel Unit Test Class Not FoundAdding subdirectory to tests in Laravel; connection can't be resolvedReturn queried model in Eloquent attributeLaravel 5.2 Unit Tests error: BadMethodCallException: Call to undefined method IlluminateDatabaseQueryBuilder::make()Call to a member function connection() on nullPHP Fatal error: Trait 'IlluminateDatabaseEloquentConcernsHasEvents' not foundihave error when iupload photo or post in site
Python reimplementation of Lost In Space by Tim Hartnell
Owner keeps cutting corners and poaching workers for his other company
Poor management handling of recent sickness and how to approach my return?
Project Euler problem #112
Filling attribute tables with values from the same attribute table
Do you need to burn fuel between gravity assists?
Short story: Interstellar inspector senses "off" nature of planet hiding aggressive culture
How to apply a register to a command
Infinitely many primes
Is every sentence we write or utter either true or false?
Friend is very nit picky about side comments I don't intend to be taken too seriously
Fantasy Military Arms and Armor: the Dwarven Grand Armory
Examples where "thin + thin = nice and thick"
How do I write a vertically-stacked definition of a sequence?
Bit floating sequence
Is there some sort of French saying for "a person's signature move"?
Dynamic Picklist Value Retrieval
What quests do you need to stop at before you make an enemy of a faction for each faction?
Why has Marx's "Das Kapital" been translated to "Capital" in English and not "The Capital"
How can I know what hashing algorithm SQL Server used to decrypt the encrypted data when using the function DECRYPTBYPASSPHRASE?
Is Sanskrit really the mother of all languages?
Is it right to use the ideas of non-winning designers in a design contest?
Passport - tiny rip on the edge of my passport page
k times Fold with 3 changing extra variables
PDO Extension on Laravel unit testing
How do I test a private function or a class that has private methods, fields or inner classes?Unit Testing C CodeWhat is Unit test, Integration Test, Smoke test, Regression Test?Laravel Unit Test Class Not FoundAdding subdirectory to tests in Laravel; connection can't be resolvedReturn queried model in Eloquent attributeLaravel 5.2 Unit Tests error: BadMethodCallException: Call to undefined method IlluminateDatabaseQueryBuilder::make()Call to a member function connection() on nullPHP Fatal error: Trait 'IlluminateDatabaseEloquentConcernsHasEvents' not foundihave error when iupload photo or post in site
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I've been struggling with setting up unit test with my Laravel application, I'm facing error... it says that PDO extension is not installed and giving me error that "PDOException driver not found" but it's installed!!!. When I serve my application everything is OK!!!
PDO is also installed:
28 => "json"
29 => "exif"
30 => "mysqli"
31 => "pdo_mysql"
32 => "pdo_sqlite"
33 => "Phar"
34 => "posix"
35 => "readline"
36 => "shmop"
Here is my test code:
<?php
namespace TestsUnit;
use AppModelsUserUser;
use TestsTestCase;
use IlluminateFoundationTestingRefreshDatabase;
class ExampleTest extends TestCase
/**
* A basic test example.
*
* @return void
*/
public function testBasicTest()
factory(User::class)->create();
$this->assertTrue(true);
Trace of error:
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Connection.php:664
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Connection.php:459
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Connection.php:411
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Query/Processors/Processor.php:32
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2653
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:1347
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:835
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:800
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:663
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Eloquent/FactoryBuilder.php:206
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Support/Collection.php:419
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Eloquent/FactoryBuilder.php:207
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Eloquent/FactoryBuilder.php:181
/home/soheil/Documents/Projects/PHP/EcollegeMe/tests/Unit/ExampleTest.php:18
Caused by
PDOException: could not find driver
php laravel unit-testing testing
add a comment |
I've been struggling with setting up unit test with my Laravel application, I'm facing error... it says that PDO extension is not installed and giving me error that "PDOException driver not found" but it's installed!!!. When I serve my application everything is OK!!!
PDO is also installed:
28 => "json"
29 => "exif"
30 => "mysqli"
31 => "pdo_mysql"
32 => "pdo_sqlite"
33 => "Phar"
34 => "posix"
35 => "readline"
36 => "shmop"
Here is my test code:
<?php
namespace TestsUnit;
use AppModelsUserUser;
use TestsTestCase;
use IlluminateFoundationTestingRefreshDatabase;
class ExampleTest extends TestCase
/**
* A basic test example.
*
* @return void
*/
public function testBasicTest()
factory(User::class)->create();
$this->assertTrue(true);
Trace of error:
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Connection.php:664
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Connection.php:459
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Connection.php:411
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Query/Processors/Processor.php:32
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2653
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:1347
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:835
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:800
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:663
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Eloquent/FactoryBuilder.php:206
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Support/Collection.php:419
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Eloquent/FactoryBuilder.php:207
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Eloquent/FactoryBuilder.php:181
/home/soheil/Documents/Projects/PHP/EcollegeMe/tests/Unit/ExampleTest.php:18
Caused by
PDOException: could not find driver
php laravel unit-testing testing
How do you run your tests?
– kuh-chan
Mar 28 at 6:16
i'm runing my tests with phpstorm! everything is ok when i run./vendor/bin/phpunit
command
– soheil py
Mar 28 at 6:19
Put some phpinfo call in your unit tests and run it. I think, it uses the wrong version
– kuh-chan
Mar 28 at 6:23
add a comment |
I've been struggling with setting up unit test with my Laravel application, I'm facing error... it says that PDO extension is not installed and giving me error that "PDOException driver not found" but it's installed!!!. When I serve my application everything is OK!!!
PDO is also installed:
28 => "json"
29 => "exif"
30 => "mysqli"
31 => "pdo_mysql"
32 => "pdo_sqlite"
33 => "Phar"
34 => "posix"
35 => "readline"
36 => "shmop"
Here is my test code:
<?php
namespace TestsUnit;
use AppModelsUserUser;
use TestsTestCase;
use IlluminateFoundationTestingRefreshDatabase;
class ExampleTest extends TestCase
/**
* A basic test example.
*
* @return void
*/
public function testBasicTest()
factory(User::class)->create();
$this->assertTrue(true);
Trace of error:
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Connection.php:664
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Connection.php:459
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Connection.php:411
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Query/Processors/Processor.php:32
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2653
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:1347
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:835
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:800
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:663
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Eloquent/FactoryBuilder.php:206
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Support/Collection.php:419
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Eloquent/FactoryBuilder.php:207
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Eloquent/FactoryBuilder.php:181
/home/soheil/Documents/Projects/PHP/EcollegeMe/tests/Unit/ExampleTest.php:18
Caused by
PDOException: could not find driver
php laravel unit-testing testing
I've been struggling with setting up unit test with my Laravel application, I'm facing error... it says that PDO extension is not installed and giving me error that "PDOException driver not found" but it's installed!!!. When I serve my application everything is OK!!!
PDO is also installed:
28 => "json"
29 => "exif"
30 => "mysqli"
31 => "pdo_mysql"
32 => "pdo_sqlite"
33 => "Phar"
34 => "posix"
35 => "readline"
36 => "shmop"
Here is my test code:
<?php
namespace TestsUnit;
use AppModelsUserUser;
use TestsTestCase;
use IlluminateFoundationTestingRefreshDatabase;
class ExampleTest extends TestCase
/**
* A basic test example.
*
* @return void
*/
public function testBasicTest()
factory(User::class)->create();
$this->assertTrue(true);
Trace of error:
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Connection.php:664
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Connection.php:459
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Connection.php:411
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Query/Processors/Processor.php:32
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2653
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:1347
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:835
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:800
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:663
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Eloquent/FactoryBuilder.php:206
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Support/Collection.php:419
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Eloquent/FactoryBuilder.php:207
/home/soheil/Documents/Projects/PHP/EcollegeMe/vendor/laravel/framework/src/Illuminate/Database/Eloquent/FactoryBuilder.php:181
/home/soheil/Documents/Projects/PHP/EcollegeMe/tests/Unit/ExampleTest.php:18
Caused by
PDOException: could not find driver
php laravel unit-testing testing
php laravel unit-testing testing
edited Jul 9 at 16:02
Cœur
22.1k10 gold badges127 silver badges180 bronze badges
22.1k10 gold badges127 silver badges180 bronze badges
asked Mar 28 at 6:12
soheil pysoheil py
113 bronze badges
113 bronze badges
How do you run your tests?
– kuh-chan
Mar 28 at 6:16
i'm runing my tests with phpstorm! everything is ok when i run./vendor/bin/phpunit
command
– soheil py
Mar 28 at 6:19
Put some phpinfo call in your unit tests and run it. I think, it uses the wrong version
– kuh-chan
Mar 28 at 6:23
add a comment |
How do you run your tests?
– kuh-chan
Mar 28 at 6:16
i'm runing my tests with phpstorm! everything is ok when i run./vendor/bin/phpunit
command
– soheil py
Mar 28 at 6:19
Put some phpinfo call in your unit tests and run it. I think, it uses the wrong version
– kuh-chan
Mar 28 at 6:23
How do you run your tests?
– kuh-chan
Mar 28 at 6:16
How do you run your tests?
– kuh-chan
Mar 28 at 6:16
i'm runing my tests with phpstorm! everything is ok when i run
./vendor/bin/phpunit
command– soheil py
Mar 28 at 6:19
i'm runing my tests with phpstorm! everything is ok when i run
./vendor/bin/phpunit
command– soheil py
Mar 28 at 6:19
Put some phpinfo call in your unit tests and run it. I think, it uses the wrong version
– kuh-chan
Mar 28 at 6:23
Put some phpinfo call in your unit tests and run it. I think, it uses the wrong version
– kuh-chan
Mar 28 at 6:23
add a comment |
1 Answer
1
active
oldest
votes
Check if you have pdo extension enable on cli you can do this by running php -m
on your terminal.
Make sure you load the pdo extension in both cli and fpm mode
EDIT: you can check which configuration file is used from the command line by running php -i
1
In other words what you are saying is that there may be a separatephp.ini
file. (often namedphp-cli.ini
) - which is something I know, but it's not entirely clear in your answer. In any case it's possible even likely thatcli.ini
does not have PDO enabled... So, it would be my guess as well. (this was something I learned due to Timezone settings, the hard way... lol)
– ArtisticPhoenix
Mar 28 at 6:52
That's not lack of PDO extension, but lack of the mysql or sqlite extension.
– Elias Soares
Jul 9 at 16:57
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55391167%2fpdo-extension-on-laravel-unit-testing%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Check if you have pdo extension enable on cli you can do this by running php -m
on your terminal.
Make sure you load the pdo extension in both cli and fpm mode
EDIT: you can check which configuration file is used from the command line by running php -i
1
In other words what you are saying is that there may be a separatephp.ini
file. (often namedphp-cli.ini
) - which is something I know, but it's not entirely clear in your answer. In any case it's possible even likely thatcli.ini
does not have PDO enabled... So, it would be my guess as well. (this was something I learned due to Timezone settings, the hard way... lol)
– ArtisticPhoenix
Mar 28 at 6:52
That's not lack of PDO extension, but lack of the mysql or sqlite extension.
– Elias Soares
Jul 9 at 16:57
add a comment |
Check if you have pdo extension enable on cli you can do this by running php -m
on your terminal.
Make sure you load the pdo extension in both cli and fpm mode
EDIT: you can check which configuration file is used from the command line by running php -i
1
In other words what you are saying is that there may be a separatephp.ini
file. (often namedphp-cli.ini
) - which is something I know, but it's not entirely clear in your answer. In any case it's possible even likely thatcli.ini
does not have PDO enabled... So, it would be my guess as well. (this was something I learned due to Timezone settings, the hard way... lol)
– ArtisticPhoenix
Mar 28 at 6:52
That's not lack of PDO extension, but lack of the mysql or sqlite extension.
– Elias Soares
Jul 9 at 16:57
add a comment |
Check if you have pdo extension enable on cli you can do this by running php -m
on your terminal.
Make sure you load the pdo extension in both cli and fpm mode
EDIT: you can check which configuration file is used from the command line by running php -i
Check if you have pdo extension enable on cli you can do this by running php -m
on your terminal.
Make sure you load the pdo extension in both cli and fpm mode
EDIT: you can check which configuration file is used from the command line by running php -i
edited Mar 28 at 6:54
answered Mar 28 at 6:48
KenKen
1,2893 gold badges19 silver badges28 bronze badges
1,2893 gold badges19 silver badges28 bronze badges
1
In other words what you are saying is that there may be a separatephp.ini
file. (often namedphp-cli.ini
) - which is something I know, but it's not entirely clear in your answer. In any case it's possible even likely thatcli.ini
does not have PDO enabled... So, it would be my guess as well. (this was something I learned due to Timezone settings, the hard way... lol)
– ArtisticPhoenix
Mar 28 at 6:52
That's not lack of PDO extension, but lack of the mysql or sqlite extension.
– Elias Soares
Jul 9 at 16:57
add a comment |
1
In other words what you are saying is that there may be a separatephp.ini
file. (often namedphp-cli.ini
) - which is something I know, but it's not entirely clear in your answer. In any case it's possible even likely thatcli.ini
does not have PDO enabled... So, it would be my guess as well. (this was something I learned due to Timezone settings, the hard way... lol)
– ArtisticPhoenix
Mar 28 at 6:52
That's not lack of PDO extension, but lack of the mysql or sqlite extension.
– Elias Soares
Jul 9 at 16:57
1
1
In other words what you are saying is that there may be a separate
php.ini
file. (often named php-cli.ini
) - which is something I know, but it's not entirely clear in your answer. In any case it's possible even likely that cli.ini
does not have PDO enabled... So, it would be my guess as well. (this was something I learned due to Timezone settings, the hard way... lol)– ArtisticPhoenix
Mar 28 at 6:52
In other words what you are saying is that there may be a separate
php.ini
file. (often named php-cli.ini
) - which is something I know, but it's not entirely clear in your answer. In any case it's possible even likely that cli.ini
does not have PDO enabled... So, it would be my guess as well. (this was something I learned due to Timezone settings, the hard way... lol)– ArtisticPhoenix
Mar 28 at 6:52
That's not lack of PDO extension, but lack of the mysql or sqlite extension.
– Elias Soares
Jul 9 at 16:57
That's not lack of PDO extension, but lack of the mysql or sqlite extension.
– Elias Soares
Jul 9 at 16:57
add a comment |
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55391167%2fpdo-extension-on-laravel-unit-testing%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
How do you run your tests?
– kuh-chan
Mar 28 at 6:16
i'm runing my tests with phpstorm! everything is ok when i run
./vendor/bin/phpunit
command– soheil py
Mar 28 at 6:19
Put some phpinfo call in your unit tests and run it. I think, it uses the wrong version
– kuh-chan
Mar 28 at 6:23