Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Skip tests in ZendTest\View if ext-intl is not installed #7231

Closed
wants to merge 1 commit into from
Closed

Skip tests in ZendTest\View if ext-intl is not installed #7231

wants to merge 1 commit into from

Conversation

gianarb
Copy link
Contributor

@gianarb gianarb commented Feb 18, 2015

There were 2 errors:

1) ZendTest\View\Helper\Navigation\BreadcrumbsTest::testTranslationUsingZendTranslateAndCustomTextDomain
Zend\I18n\Exception\ExtensionNotLoadedException: Zend\I18n\Translator component requires the intl PHP extension

/home/gianarb/git/zf2/library/Zend/I18n/Translator/Translator.php:257
/home/gianarb/git/zf2/library/Zend/I18n/Translator/Translator.php:353
/home/gianarb/git/zf2/library/Zend/View/Helper/Navigation/AbstractHelper.php:434
/home/gianarb/git/zf2/library/Zend/View/Helper/Navigation/Breadcrumbs.php:113
/home/gianarb/git/zf2/library/Zend/View/Helper/Navigation/Breadcrumbs.php:81
/home/gianarb/git/zf2/tests/ZendTest/View/Helper/Navigation/BreadcrumbsTest.php:179

2) ZendTest\View\Helper\Navigation\MenuTest::testTranslationUsingZendTranslateWithTextDomain
Zend\I18n\Exception\ExtensionNotLoadedException: Zend\I18n\Translator component requires the intl PHP extension

/home/gianarb/git/zf2/library/Zend/I18n/Translator/Translator.php:257
/home/gianarb/git/zf2/library/Zend/I18n/Translator/Translator.php:353
/home/gianarb/git/zf2/library/Zend/View/Helper/Navigation/AbstractHelper.php:434
/home/gianarb/git/zf2/library/Zend/View/Helper/Navigation/Menu.php:524
/home/gianarb/git/zf2/library/Zend/View/Helper/Navigation/Menu.php:357
/home/gianarb/git/zf2/library/Zend/View/Helper/Navigation/Menu.php:233
/home/gianarb/git/zf2/library/Zend/View/Helper/Navigation/Menu.php:110
/home/gianarb/git/zf2/tests/ZendTest/View/Helper/Navigation/MenuTest.php:235

FAILURES!
Tests: 862, Assertions: 1749, Errors: 2, Incomplete: 2, Skipped: 9.

@weierophinney weierophinney added this to the 2.4.0 milestone Feb 19, 2015
weierophinney added a commit that referenced this pull request Feb 25, 2015
Skip tests in ZendTest\View if ext-intl is not installed
weierophinney added a commit that referenced this pull request Feb 25, 2015
@weierophinney
Copy link
Member

Merged to develop for release with 2.4.

@gianarb
Copy link
Contributor Author

gianarb commented Feb 25, 2015

👍

weierophinney added a commit to zendframework/zend-view that referenced this pull request May 15, 2015
…ure/fix-zendtest-view-ext-intl

Skip tests in ZendTest\View if ext-intl is not installed
weierophinney added a commit to zendframework/zend-view that referenced this pull request May 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants