6.0.0-git
2018-12-15

[#14531] Horde-Activesync uses deprecated function in tests
Summary Horde-Activesync uses deprecated function in tests
Queue Horde Framework Packages
Type Enhancement
State New
Priority 1. Low
Owners
Requester cheese (at) nosuchhost (dot) net
Created 2016-12-03 (742 days ago)
Due
Updated 2016-12-03 (742 days ago)
Assigned
Resolved
Milestone 6
Patch No

History
2016-12-03 18:12:24 Michael Rubinsky Milestone ⇒ 6
 
2016-12-03 18:11:45 Michael Rubinsky Comment #2 Reply to this comment
This can't be changed until Horde 6 since we don't require PHPUnit 5.7.
2016-12-03 13:36:37 cheese (at) nosuchhost (dot) net Comment #1
Type ⇒ Enhancement
State ⇒ New
Priority ⇒ 1. Low
Summary ⇒ Horde-Activesync uses deprecated function in tests
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
Reply to this comment
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


Saved Queries