File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ After the library is installed, try running PHPUnit:
2727
2828.. code-block :: terminal
2929
30- $ php ./vendor/ bin/phpunit
30+ $ php bin/phpunit
3131
3232 This command automatically runs your application tests. Each test is a
3333PHP class ending with "Test" (e.g. ``BlogControllerTest ``) that lives in
@@ -83,18 +83,18 @@ of your application for unit tests. So, if you're testing a class in the
8383Autoloading is automatically enabled via the ``vendor/autoload.php `` file
8484(as configured by default in the ``phpunit.xml.dist `` file).
8585
86- You can run tests using the ``./vendor/ bin/phpunit `` command:
86+ You can run tests using the ``bin/phpunit `` command:
8787
8888.. code-block :: terminal
8989
9090 # run all tests of the application
91- $ php ./vendor/ bin/phpunit
91+ $ php bin/phpunit
9292
9393 # run all tests in the Form/ directory
94- $ php ./vendor/ bin/phpunit tests/Form
94+ $ php bin/phpunit tests/Form
9595
9696 # run tests for the UserType class
97- $ php ./vendor/ bin/phpunit tests/Form/UserTypeTest.php
97+ $ php bin/phpunit tests/Form/UserTypeTest.php
9898
9999 .. tip ::
100100
You can’t perform that action at this time.
0 commit comments