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">
|
<phpunit colors="false" bootstrap="phpunit.php">
|
||||||
<testsuites>
|
<testsuites>
|
||||||
<testsuite name="Test Suite">
|
<testsuite name="Test Suite">
|
||||||
<directory suffix=".php">tests/cases</directory>
|
<directory suffix=".test.php">tests/cases</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
</testsuites>
|
</testsuites>
|
||||||
</phpunit>
|
</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…
Reference in New Issue