merged branch jakzal/bugfix/intl-tests-covers (PR #8082)

This PR was merged into the 2.3 branch.

Discussion
----------

[Intl] Fixed the class namespaces in the @covers annotations.

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | no
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Commits
-------

a39db7b [Intl] Fixed the class namespaces in the @covers annotations.
This commit is contained in:
Fabien Potencier 2013-05-19 04:19:40 +02:00
commit d0fed26138
1 changed files with 2 additions and 3 deletions

View File

@ -26,8 +26,7 @@ abstract class AbstractIntlDateFormatterTest extends \PHPUnit_Framework_TestCase
{
/**
* When a time zone is not specified, it uses the system default however it returns null in the getter method
* @covers Symfony\Component\Intl\Stub\StubIntlDateFormatter::getTimeZoneId
* @covers Symfony\Component\Intl\Stub\StubIntlDateFormatter::setTimeZoneId
* @covers Symfony\Component\Intl\DateFormatter\IntlDateFormatter::getTimeZoneId
* @see StubIntlDateFormatterTest::testDefaultTimeZoneIntl()
*/
public function testConstructorDefaultTimeZone()
@ -833,7 +832,7 @@ abstract class AbstractIntlDateFormatterTest extends \PHPUnit_Framework_TestCase
}
/**
* @covers Symfony\Component\Intl\Stub\StubIntlDateFormatter::getTimeZoneId
* @covers Symfony\Component\Intl\DateFormatter\IntlDateFormatter::getTimeZoneId
* @dataProvider setTimeZoneIdProvider
*/
public function testSetTimeZoneId($timeZoneId, $expectedTimeZoneId)