ZF-12071: "test_set_getLogger" testcase should be removed from QueueTest

Issue Type: Unit Tests: Problem Created: 2012-02-25T21:28:41.000+0000 Last Updated: 2012-02-27T04:49:54.000+0000 Status: Resolved Fix version(s): - 1.11.12 (22/Jun/12)

Reporter: Kazusuke Sasezaki (sasezaki) Assignee: Adam Lundrigan (adamlundrigan) Tags: - Zend_Queue

Related issues: Attachments:


$ phpunit Zend/Queue/QueueTest.php

<pre class="highlight">
Fatal error: Call to undefined method Zend_Queue::setLogger() in /home/kazusuke/dev/svn/zf1-standard-trunk/tests/Zend/Queue/QueueTest.php on line 74

test_set_getLogger should be removal. I think Zend_Queue::setLogger method was removed after matthew 's review.


Posted by Adam Lundrigan (adamlundrigan) on 2012-02-27T04:48:34.000+0000

Other errors exposed by running phpunit34 --bootstrap TestHelper.php Zend/Queue/QueueTest:

<pre class="highlight">
// Misspelled
PHP Fatal error:  Undefined class constant 'VISABILITY_TIMEOUT' in tests/Zend/Queue/QueueTest.php on line 68
// Not require_once'd
PHP Fatal error:  Class 'Zend_Config' not found in tests/Zend/Queue/QueueTest.php on line 87
// Correct method is getOptions()
PHP Fatal error:  Call to undefined method Zend_Queue::getConfig() in tests/Zend/Queue/QueueTest.php on line 103

Fixed in trunk r24670 Merged to release-1.11 in r24671

Changes have already been made in ZF2 Zend\Queue\QueueTest

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.