[Tickets #14531] Horde-Activesync uses deprecated function in tests
noreply at bugs.horde.org
noreply at bugs.horde.org
Sat Dec 3 13:36:37 UTC 2016
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: https://bugs.horde.org/ticket/14531
------------------------------------------------------------------------------
Ticket | 14531
Created By | cheese at nosuchhost.net
Summary | Horde-Activesync uses deprecated function in tests
Queue | Horde Framework Packages
Type | Enhancement
State | New
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
cheese at nosuchhost.net (2016-12-03 13:36) wrote:
running phpunit gives:
There were 15 warnings:
1) Horde_ActiveSync_AppointmentTest::testMissingSupportedTag
PHPUnit_Framework_TestCase::getMock() is deprecated, use
PHPUnit_Framework_TestCase::createMock() or
PHPUnit_Framework_TestCase::getMockBuilder() instead
2) Horde_ActiveSync_AppointmentTest::testEmptySupportedTag
PHPUnit_Framework_TestCase::getMock() is deprecated, use
PHPUnit_Framework_TestCase::createMock() or
PHPUnit_Framework_TestCase::getMockBuilder() instead
3) Horde_ActiveSync_CacheTest::testPropertyAccess
PHPUnit_Framework_TestCase::getMock() is deprecated, use
PHPUnit_Framework_TestCase::createMock() or
PHPUnit_Framework_TestCase::getMockBuilder() instead
4) Horde_ActiveSync_CacheTest::testInvalidPropertyAccess
PHPUnit_Framework_TestCase::getMock() is deprecated, use
PHPUnit_Framework_TestCase::createMock() or
PHPUnit_Framework_TestCase::getMockBuilder() instead
5) Horde_ActiveSync_CacheTest::testValidProperties
PHPUnit_Framework_TestCase::getMock() is deprecated, use
PHPUnit_Framework_TestCase::createMock() or
PHPUnit_Framework_TestCase::getMockBuilder() instead
6) Horde_ActiveSync_CacheTest::testValidateTimestamps
PHPUnit_Framework_TestCase::getMock() is deprecated, use
PHPUnit_Framework_TestCase::createMock() or
PHPUnit_Framework_TestCase::getMockBuilder() instead
7) Horde_ActiveSync_ContactTest::testPictureGhosted
PHPUnit_Framework_TestCase::getMock() is deprecated, use
PHPUnit_Framework_TestCase::createMock() or
PHPUnit_Framework_TestCase::getMockBuilder() instead
8) Horde_ActiveSync_ContactTest::testMissingSupportedTag
PHPUnit_Framework_TestCase::getMock() is deprecated, use
PHPUnit_Framework_TestCase::createMock() or
PHPUnit_Framework_TestCase::getMockBuilder() instead
9) Horde_ActiveSync_ContactTest::testEmptySupportedTag
PHPUnit_Framework_TestCase::getMock() is deprecated, use
PHPUnit_Framework_TestCase::createMock() or
PHPUnit_Framework_TestCase::getMockBuilder() instead
10) Horde_ActiveSync_DeviceTest::testDeviceDetection
PHPUnit_Framework_TestCase::getMock() is deprecated, use
PHPUnit_Framework_TestCase::createMock() or
PHPUnit_Framework_TestCase::getMockBuilder() instead
11) Horde_ActiveSync_DeviceTest::testPoomContactsDate
PHPUnit_Framework_TestCase::getMock() is deprecated, use
PHPUnit_Framework_TestCase::createMock() or
PHPUnit_Framework_TestCase::getMockBuilder() instead
12) Horde_ActiveSync_DeviceTest::testOverrideClientType
PHPUnit_Framework_TestCase::getMock() is deprecated, use
PHPUnit_Framework_TestCase::createMock() or
PHPUnit_Framework_TestCase::getMockBuilder() instead
13) Horde_ActiveSync_DeviceTest::testSupported
PHPUnit_Framework_TestCase::getMock() is deprecated, use
PHPUnit_Framework_TestCase::createMock() or
PHPUnit_Framework_TestCase::getMockBuilder() instead
14) Horde_ActiveSync_MessageBodyDataTest::testReturnProperlyTruncatedHtml
Trying to configure method "fetch" which cannot be configured because
it does not exist, has not been specified, is final, or is static
15) Horde_ActiveSync_MessageBodyDataTest::testReturnHtmlNoTruncation
Trying to configure method "fetch" which cannot be configured because
it does not exist, has not been specified, is final, or is static
More information about the bugs
mailing list