mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
rename str.php to str.test.php... change suffix in phpunit.xml
This commit is contained in:
parent
bc2e54b1ac
commit
f634b6b97b
@ -1,7 +1,7 @@
|
||||
<phpunit colors="false" bootstrap="phpunit.php">
|
||||
<testsuites>
|
||||
<testsuite name="Test Suite">
|
||||
<directory suffix=".php">tests/cases</directory>
|
||||
<directory suffix=".test.php">tests/cases</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
</phpunit>
|
@ -1,15 +0,0 @@
|
||||
<?php
|
||||
|
||||
class StrTest extends PHPUnit_Framework_TestCase {
|
||||
|
||||
/**
|
||||
* Test the Str::encoding method.
|
||||
*
|
||||
* @group laravel
|
||||
*/
|
||||
public function testEncodingShouldReturnApplicationEncoding()
|
||||
{
|
||||
$this->assertEquals('UTF-8', Config::get('application.encoding'));
|
||||
}
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user