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 @@ -26,7 +26,7 @@ After the library is installed, try running PHPUnit:
2626
2727.. code-block :: terminal
2828
29- $ php ./vendor/ bin/phpunit
29+ $ php bin/phpunit
3030
3131 This command automatically runs your application tests. Each test is a
3232PHP class ending with "Test" (e.g. ``BlogControllerTest ``) that lives in
@@ -82,18 +82,18 @@ of your application for unit tests. So, if you're testing a class in the
8282Autoloading is automatically enabled via the ``vendor/autoload.php `` file
8383(as configured by default in the ``phpunit.xml.dist `` file).
8484
85- You can run tests using the ``./vendor/ bin/phpunit `` command:
85+ You can run tests using the ``bin/phpunit `` command:
8686
8787.. code-block :: terminal
8888
8989 # run all tests of the application
90- $ php ./vendor/ bin/phpunit
90+ $ php bin/phpunit
9191
9292 # run all tests in the Form/ directory
93- $ php ./vendor/ bin/phpunit tests/Form
93+ $ php bin/phpunit tests/Form
9494
9595 # run tests for the UserType class
96- $ php ./vendor/ bin/phpunit tests/Form/UserTypeTest.php
96+ $ php bin/phpunit tests/Form/UserTypeTest.php
9797
9898 .. tip ::
9999
You can’t perform that action at this time.
0 commit comments