Skip to content

Commit

Permalink
Simplified phpunit phar installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
ravage84 committed Sep 11, 2015
1 parent 2c55fc2 commit 91a7014
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions zh/development/testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ CakePHP 使用 PHPUnit 作为其底层测试框架。PHPUnit 是 PHP 单元测
你也可以直接下载文件。只是要注意从 https://phar.phpunit.de/ 得到了正确的版本。
确保 /usr/local/bin 位于 php.ini 文件的 include_path 中::

wget https://phar.phpunit.de/phpunit-3.7.32.phar
chmod +x phpunit-3.7.32.phar
mv phpunit-3.7.32.phar /usr/local/bin/phpunit
wget https://phar.phpunit.de/phpunit-3.7.38.phar -O phpunit.phar
chmod +x phpunit.phar
mv phpunit.phar /usr/local/bin/phpunit

.. note::

Expand Down

0 comments on commit 91a7014

Please sign in to comment.