Comments (6)
Yesterday night i release v1.3 which adds phpunit 4.X as a dependency,
@JanMalte created a whole of tests which depends on this version. If you are running phpunit 3.X these tests will fail.
Please double check and close if this fixes your issue.
from php-redmine-api.
I am running 4.1.3, version v1.3. This is the output of phpunit.
edit: removed badly formated log...
from php-redmine-api.
In this post it seem like the XML tags are missing. Is this just a parsing think here on GitHub or are they missing in your local output? If it is the second thing, it looks like a bug in PHPUnit on windows.
Please paste the first error again using
```as tags for the error message.
The errors should be something like:
Failed asserting that 'Test Category2' starts with "<?xml version="1.0"?><issue_category>" and ends with "</issue_category>" and contains "<name>test category</name>" and contains "<assigned_to_id>2</assigned_to_id>".
from php-redmine-api.
Here you are
PHPUnit 4.1.3 by Sebastian Bergmann.
Configuration read from C:\Work\projects\php-redmine-api\phpunit.xml
.......................................�[41;37mF�[0m�[41;37mF�[0m...................... 63 / 267 ( 23%)
�[41;37mF�[0m�[41;37mF�[0m�[41;37mF�[0m�[41;37mF�[0m.....�[41;37mF�[0m�[41;37mF�[0m................�[41;37mF�[0m�[41;37mF�[0m..................�[41;37mF�[0m�[41;37mF�[0m.............. 126 / 267 ( 47%)
...�[41;37mF�[0m�[41;37mF�[0m�[41;37mF�[0m�[41;37mF�[0m............�[41;37mF�[0m�[41;37mF�[0m.�[41;37mF�[0m�[41;37mF�[0m.....�[41;37mF�[0m�[41;37mF�[0m�[41;37mF�[0m�[41;37mF�[0m�[41;37mF�[0m�[41;37mF�[0m�[41;37mF�[0m�[41;37mF�[0m..�[41;37mF�[0m�[41;37mF�[0m�[41;37mF�[0m�[41;37mF�[0m�[41;37mF�[0m�[41;37mF�[0m�[41;37mF�[0m�[41;37mF�[0m.........�[41;37mF�[0m�[41;37mF�[0m�[41;37mF�[0m�[41;37mF�[0m... 189 / 267 ( 70%)
............................................................... 252 / 267 ( 94%)
...............
Time: 473 ms, Memory: 10.25Mb
There were 40 failures:
1) Redmine\Tests\Api\IssueCategoryTest::testCreateCallsPost
Expectation failed for method name is equal to <string:post> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::post('/projects/5/issue_categories.xml', '<?xml version="1.0"?>\n<issue_...gory>\n') does not match expected value.
Failed asserting that '<?xml version="1.0"?>
<issue_category><name>Test Category</name><assigned_to_id>2</assigned_to_id></issue_category>
' starts with "<?xml version="1.0"?>
<issue_category>" and ends with "</issue_category>
" and contains "<name>test category</name>" and contains "<assigned_to_id>2</assigned_to_id>".
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:53
C:\Work\projects\php-redmine-api\lib\Redmine\Api\IssueCategory.php:105
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\IssueCategoryTest.php:416
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
2) Redmine\Tests\Api\IssueCategoryTest::testUpdateCallsPut
Expectation failed for method name is equal to <string:put> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::put('/issue_categories/5.xml', '<?xml version="1.0"?>\n<issue_...gory>\n') does not match expected value.
Failed asserting that '<?xml version="1.0"?>
<issue_category><name>Test Category</name><assigned_to_id>2</assigned_to_id></issue_category>
' starts with "<?xml version="1.0"?>
<issue_category>" and ends with "</issue_category>
" and contains "<name>test category</name>" and contains "<assigned_to_id>2</assigned_to_id>".
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:61
C:\Work\projects\php-redmine-api\lib\Redmine\Api\IssueCategory.php:129
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\IssueCategoryTest.php:458
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
3) Redmine\Tests\Api\IssueTest::testCreateCallsPost
Expectation failed for method name is equal to <string:post> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::post('/issues.xml', '<?xml version="1.0"?>\n<issue/>\n') does not match expected value.
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
'<?xml version="1.0"?>
<issue/>
'
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:53
C:\Work\projects\php-redmine-api\lib\Redmine\Api\Issue.php:128
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\IssueTest.php:344
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
4) Redmine\Tests\Api\IssueTest::testCreateCleansParameters
Expectation failed for method name is equal to <string:post> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::post('/issues.xml', '<?xml version="1.0"?>\n<issue>...ssue>\n') does not match expected value.
Failed asserting that '<?xml version="1.0"?>
<issue><project_id>cleanedValue</project_id><category_id>cleanedValue</category_id><status_id>cleanedValue</status_id><tracker_id>cleanedValue</tracker_id><assigned_to_id>cleanedValue</assigned_to_id><author_id>cleanedValue</author_id></issue>
' starts with "<?xml version="1.0"?>
<issue>" and ends with "</issue>
" and contains "<project_id>cleanedvalue</project_id>" and contains "<category_id>cleanedvalue</category_id>" and contains "<status_id>cleanedvalue</status_id>" and contains "<tracker_id>cleanedvalue</tracker_id>" and contains "<assigned_to_id>cleanedvalue</assigned_to_id>" and contains "<author_id>cleanedvalue</author_id>".
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:53
C:\Work\projects\php-redmine-api\lib\Redmine\Api\Issue.php:128
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\IssueTest.php:419
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
5) Redmine\Tests\Api\IssueTest::testUpdateCallsPut
Expectation failed for method name is equal to <string:put> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::put('/issues/5.xml', '<?xml version="1.0"?>\n<issue>...ssue>\n') does not match expected value.
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
'<?xml version="1.0"?>
<issue><id>5</id></issue>
'
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:61
C:\Work\projects\php-redmine-api\lib\Redmine\Api\Issue.php:167
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\IssueTest.php:453
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
6) Redmine\Tests\Api\IssueTest::testUpdateCleansParameters
Expectation failed for method name is equal to <string:put> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::put('/issues/5.xml', '<?xml version="1.0"?>\n<issue>...ssue>\n') does not match expected value.
Failed asserting that '<?xml version="1.0"?>
<issue><id>5</id><category_id>cleanedValue</category_id><status_id>cleanedValue</status_id><tracker_id>cleanedValue</tracker_id><assigned_to_id>cleanedValue</assigned_to_id><project_id>cleanedValue</project_id><author_id>cleanedValue</author_id></issue>
' starts with "<?xml version="1.0"?>
<issue>" and ends with "</issue>
" and contains "<project_id>cleanedvalue</project_id>" and contains "<category_id>cleanedvalue</category_id>" and contains "<status_id>cleanedvalue</status_id>" and contains "<tracker_id>cleanedvalue</tracker_id>" and contains "<assigned_to_id>cleanedvalue</assigned_to_id>" and contains "<author_id>cleanedvalue</author_id>".
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:61
C:\Work\projects\php-redmine-api\lib\Redmine\Api\Issue.php:167
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\IssueTest.php:528
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
7) Redmine\Tests\Api\MembershipTest::testCreateCallsPost
Expectation failed for method name is equal to <string:post> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::post('/projects/5/memberships.xml', '<?xml version="1.0"?>\n<member...ship>\n') does not match expected value.
Failed asserting that '<?xml version="1.0"?>
<membership><user_id>1</user_id><user_ids>1</user_ids><role_ids>1</role_ids></membership>
' starts with "<?xml version="1.0"?>
<membership>" and ends with "</membership>
".
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:53
C:\Work\projects\php-redmine-api\lib\Redmine\Api\Membership.php:54
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\MembershipTest.php:210
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
8) Redmine\Tests\Api\MembershipTest::testCreateBuildsXml
Expectation failed for method name is equal to <string:post> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::post('/projects/5/memberships.xml', '<?xml version="1.0"?>\n<member...ship>\n') does not match expected value.
Failed asserting that '<?xml version="1.0"?>
<membership><user_id>10</user_id><user_ids type="array"><user_id>1</user_id><user_id>2</user_id></user_ids><role_ids type="array"><role_id>5</role_id><role_id>6</role_id></role_ids></membership>
' starts with "<?xml version="1.0"?>
<membership>" and ends with "</membership>
" and contains "<user_ids type="array">" and contains "<user_id>1</user_id>" and contains "<user_id>2</user_id>" and contains "</user_ids>" and contains "<role_ids type="array">" and contains "<role_id>5</role_id>" and contains "<role_id>6</role_id>" and contains "</role_ids>" and contains "<user_id>10</user_id>".
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:53
C:\Work\projects\php-redmine-api\lib\Redmine\Api\Membership.php:54
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\MembershipTest.php:263
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
9) Redmine\Tests\Api\ProjectTest::testCreateCallsPost
Expectation failed for method name is equal to <string:post> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::post('/projects.xml', '<?xml version="1.0"?>\n<projec...ject>\n') does not match expected value.
Failed asserting that '<?xml version="1.0"?>
<project><name>Test Project</name><identifier>test-project</identifier></project>
' starts with "<?xml version="1.0"?>
<project>" and ends with "</project>
" and contains "<identifier>test-project</identifier>" and contains "<name>test project</name>".
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:53
C:\Work\projects\php-redmine-api\lib\Redmine\Api\Project.php:117
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\ProjectTest.php:421
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
10) Redmine\Tests\Api\ProjectTest::testCreateCallsPostWithTrackers
Expectation failed for method name is equal to <string:post> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::post('/projects.xml', '<?xml version="1.0"?>\n<projec...ject>\n') does not match expected value.
Failed asserting that '<?xml version="1.0"?>
<project><name>Test Project</name><identifier>test-project</identifier><tracker_ids type="array"><tracker>10</tracker><tracker>5</tracker></tracker_ids></project>
' starts with "<?xml version="1.0"?>
<project>" and ends with "</project>
" and contains "<tracker_ids type="array">" and contains "<tracker>10</tracker>" and contains "<tracker>5</tracker>" and contains "</tracker_ids>".
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:53
C:\Work\projects\php-redmine-api\lib\Redmine\Api\Project.php:117
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\ProjectTest.php:466
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
11) Redmine\Tests\Api\TimeEntryTest::testCreateCallsPost
Expectation failed for method name is equal to <string:post> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::post('/time_entries.xml', '<?xml version="1.0"?>\n<time_e...ntry>\n') does not match expected value.
Failed asserting that '<?xml version="1.0"?>
<time_entry><issue_id>15</issue_id><project_id>25</project_id><hours>5.25</hours></time_entry>
' starts with "<?xml version="1.0"?>
<time_entry>" and ends with "</time_entry>
" and contains "<issue_id>15</issue_id>" and contains "<project_id>25</project_id>" and contains "<hours>5.25</hours>".
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:53
C:\Work\projects\php-redmine-api\lib\Redmine\Api\TimeEntry.php:70
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\TimeEntryTest.php:269
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
12) Redmine\Tests\Api\TimeEntryTest::testUpdateCallsPut
Expectation failed for method name is equal to <string:put> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::put('/time_entries/5.xml', '<?xml version="1.0"?>\n<time_e...ntry>\n') does not match expected value.
Failed asserting that '<?xml version="1.0"?>
<time_entry><id>5</id><hours>10.25</hours></time_entry>
' starts with "<?xml version="1.0"?>
<time_entry>" and ends with "</time_entry>
" and contains "<hours>10.25</hours>".
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:61
C:\Work\projects\php-redmine-api\lib\Redmine\Api\TimeEntry.php:99
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\TimeEntryTest.php:309
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
13) Redmine\Tests\Api\UserTest::testCreateCallsPost
Expectation failed for method name is equal to <string:post> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::post('/users.xml', '<?xml version="1.0"?>\n<user><...user>\n') does not match expected value.
Failed asserting that '<?xml version="1.0"?>
<user><login>TestUser</login><password>secretPass</password><lastname>Last Name</lastname><firstname>Firstname</firstname><mail>[email protected]</mail></user>
' starts with "<?xml version="1.0"?>
<user>" and ends with "</user>
" and contains "<login>testuser</login>" and contains "<password>secretpass</password>" and contains "<lastname>last name</lastname>" and contains "<firstname>firstname</firstname>" and contains "<mail>[email protected]</mail>".
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:53
C:\Work\projects\php-redmine-api\lib\Redmine\Api\User.php:123
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\UserTest.php:350
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
14) Redmine\Tests\Api\UserTest::testCreateWithCustomField
Expectation failed for method name is equal to <string:post> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::post('/users.xml', '<?xml version="1.0"?>\n<user><...user>\n') does not match expected value.
Failed asserting that '<?xml version="1.0"?>
<user><login>TestUser</login><password>secretPass</password><lastname>Last Name</lastname><firstname>Firstname</firstname><mail>[email protected]</mail><custom_fields type="array"><custom_field id="5"><value>Value 5</value></custom_field><custom_field name="CF Name" id="13"><value>Value 13</value></custom_field></custom_fields></user>
' starts with "<?xml version="1.0"?>
<user>" and ends with "</user>
" and contains "<login>testuser</login>" and contains "<password>secretpass</password>" and contains "<lastname>last name</lastname>" and contains "<firstname>firstname</firstname>" and contains "<mail>[email protected]</mail>" and contains "<custom_fields type="array">" and contains "</custom_fields>" and contains "<custom_field name="cf name" id="13">" and contains "<value>value 13</value>" and contains "<custom_field id="5">" and contains "<value>value 5</value>" and contains "</custom_field>".
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:53
C:\Work\projects\php-redmine-api\lib\Redmine\Api\User.php:123
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\UserTest.php:410
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
15) Redmine\Tests\Api\UserTest::testUpdateCallsPut
Expectation failed for method name is equal to <string:put> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::put('/users/5.xml', '<?xml version="1.0"?>\n<user><...user>\n') does not match expected value.
Failed asserting that '<?xml version="1.0"?>
<user><id>5</id><mail>[email protected]</mail></user>
' starts with "<?xml version="1.0"?>
<user>" and ends with "</user>
" and contains "<mail>[email protected]</mail>".
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:61
C:\Work\projects\php-redmine-api\lib\Redmine\Api\User.php:156
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\UserTest.php:450
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
16) Redmine\Tests\Api\UserTest::testUpdateWithCustomField
Expectation failed for method name is equal to <string:put> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::put('/users/5.xml', '<?xml version="1.0"?>\n<user><...user>\n') does not match expected value.
Failed asserting that '<?xml version="1.0"?>
<user><id>5</id><custom_fields type="array"><custom_field id="5"><value>Value 5</value></custom_field><custom_field name="CF Name" id="13"><value>Value 13</value></custom_field></custom_fields></user>
' starts with "<?xml version="1.0"?>
<user>" and ends with "</user>
" and contains "<custom_fields type="array">" and contains "</custom_fields>" and contains "<custom_field name="cf name" id="13">" and contains "<value>value 13</value>" and contains "<custom_field id="5">" and contains "<value>value 5</value>" and contains "</custom_field>".
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:61
C:\Work\projects\php-redmine-api\lib\Redmine\Api\User.php:156
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\UserTest.php:500
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
17) Redmine\Tests\Api\VersionTest::testCreateCallsPost
Expectation failed for method name is equal to <string:post> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::post('/projects/5/versions.xml', '<?xml version="1.0"?>\n<versio...sion>\n') does not match expected value.
Failed asserting that '<?xml version="1.0"?>
<version><name>Test version</name></version>
' starts with "<?xml version="1.0"?>
<version>" and ends with "</version>
" and contains "<name>test version</name>".
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:53
C:\Work\projects\php-redmine-api\lib\Redmine\Api\Version.php:111
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\VersionTest.php:319
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
18) Redmine\Tests\Api\VersionTest::testCreateWithValidStatusCallsPost
Expectation failed for method name is equal to <string:post> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::post('/projects/5/versions.xml', '<?xml version="1.0"?>\n<versio...sion>\n') does not match expected value.
Failed asserting that '<?xml version="1.0"?>
<version><name>Test version</name><status>locked</status></version>
' starts with "<?xml version="1.0"?>
<version>" and ends with "</version>
" and contains "<name>test version</name>" and contains "<status>locked</status>".
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:53
C:\Work\projects\php-redmine-api\lib\Redmine\Api\Version.php:111
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\VersionTest.php:362
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
19) Redmine\Tests\Api\VersionTest::testUpdateCallsPut
Expectation failed for method name is equal to <string:put> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::put('/versions/test.xml', '<?xml version="1.0"?>\n<versio...sion>\n') does not match expected value.
Failed asserting that '<?xml version="1.0"?>
<version><name>Test version</name></version>
' starts with "<?xml version="1.0"?>
<version>" and ends with "</version>
" and contains "<name>test version</name>".
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:61
C:\Work\projects\php-redmine-api\lib\Redmine\Api\Version.php:140
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\VersionTest.php:432
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
20) Redmine\Tests\Api\VersionTest::testUpdateWithValidStatusCallsPut
Expectation failed for method name is equal to <string:put> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::put('/versions/test.xml', '<?xml version="1.0"?>\n<versio...sion>\n') does not match expected value.
Failed asserting that '<?xml version="1.0"?>
<version><name>Test version</name><status>locked</status></version>
' starts with "<?xml version="1.0"?>
<version>" and ends with "</version>
" and contains "<name>test version</name>" and contains "<status>locked</status>".
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:61
C:\Work\projects\php-redmine-api\lib\Redmine\Api\Version.php:140
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\VersionTest.php:475
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
21) Redmine\Tests\Api\VersionTest::testCreateWithValidSharing with data set #0 ('none', '<sharing>none</sharing>')
Expectation failed for method name is equal to <string:post> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::post('/projects/test/versions.xml', '<?xml version="1.0"?>\n<versio...sion>\n') does not match expected value.
Failed asserting that '<?xml version="1.0"?>
<version><name>Test version</name><sharing>none</sharing></version>
' starts with "<?xml version="1.0"?>
<version>" and ends with "</version>
" and contains "<name>test version</name>" and contains "<sharing>none</sharing>".
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:53
C:\Work\projects\php-redmine-api\lib\Redmine\Api\Version.php:111
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\VersionTest.php:711
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
22) Redmine\Tests\Api\VersionTest::testCreateWithValidSharing with data set #1 ('descendants', '<sharing>descendants</sharing>')
Expectation failed for method name is equal to <string:post> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::post('/projects/test/versions.xml', '<?xml version="1.0"?>\n<versio...sion>\n') does not match expected value.
Failed asserting that '<?xml version="1.0"?>
<version><name>Test version</name><sharing>descendants</sharing></version>
' starts with "<?xml version="1.0"?>
<version>" and ends with "</version>
" and contains "<name>test version</name>" and contains "<sharing>descendants</sharing>".
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:53
C:\Work\projects\php-redmine-api\lib\Redmine\Api\Version.php:111
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\VersionTest.php:711
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
23) Redmine\Tests\Api\VersionTest::testCreateWithValidSharing with data set #2 ('hierarchy', '<sharing>hierarchy</sharing>')
Expectation failed for method name is equal to <string:post> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::post('/projects/test/versions.xml', '<?xml version="1.0"?>\n<versio...sion>\n') does not match expected value.
Failed asserting that '<?xml version="1.0"?>
<version><name>Test version</name><sharing>hierarchy</sharing></version>
' starts with "<?xml version="1.0"?>
<version>" and ends with "</version>
" and contains "<name>test version</name>" and contains "<sharing>hierarchy</sharing>".
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:53
C:\Work\projects\php-redmine-api\lib\Redmine\Api\Version.php:111
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\VersionTest.php:711
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
24) Redmine\Tests\Api\VersionTest::testCreateWithValidSharing with data set #3 ('tree', '<sharing>tree</sharing>')
Expectation failed for method name is equal to <string:post> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::post('/projects/test/versions.xml', '<?xml version="1.0"?>\n<versio...sion>\n') does not match expected value.
Failed asserting that '<?xml version="1.0"?>
<version><name>Test version</name><sharing>tree</sharing></version>
' starts with "<?xml version="1.0"?>
<version>" and ends with "</version>
" and contains "<name>test version</name>" and contains "<sharing>tree</sharing>".
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:53
C:\Work\projects\php-redmine-api\lib\Redmine\Api\Version.php:111
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\VersionTest.php:711
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
25) Redmine\Tests\Api\VersionTest::testCreateWithValidSharing with data set #4 ('system', '<sharing>system</sharing>')
Expectation failed for method name is equal to <string:post> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::post('/projects/test/versions.xml', '<?xml version="1.0"?>\n<versio...sion>\n') does not match expected value.
Failed asserting that '<?xml version="1.0"?>
<version><name>Test version</name><sharing>system</sharing></version>
' starts with "<?xml version="1.0"?>
<version>" and ends with "</version>
" and contains "<name>test version</name>" and contains "<sharing>system</sharing>".
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:53
C:\Work\projects\php-redmine-api\lib\Redmine\Api\Version.php:111
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\VersionTest.php:711
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
26) Redmine\Tests\Api\VersionTest::testCreateWithValidEmptySharing with data set #0 (NULL)
Expectation failed for method name is equal to <string:post> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::post('/projects/test/versions.xml', '<?xml version="1.0"?>\n<versio...sion>\n') does not match expected value.
Failed asserting that '<?xml version="1.0"?>
<version><name>Test version</name></version>
' starts with "<?xml version="1.0"?>
<version>" and ends with "</version>
" and contains "<name>test version</name>" and does not contain "<sharing".
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:53
C:\Work\projects\php-redmine-api\lib\Redmine\Api\Version.php:111
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\VersionTest.php:758
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
27) Redmine\Tests\Api\VersionTest::testCreateWithValidEmptySharing with data set #1 (false)
Expectation failed for method name is equal to <string:post> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::post('/projects/test/versions.xml', '<?xml version="1.0"?>\n<versio...sion>\n') does not match expected value.
Failed asserting that '<?xml version="1.0"?>
<version><name>Test version</name></version>
' starts with "<?xml version="1.0"?>
<version>" and ends with "</version>
" and contains "<name>test version</name>" and does not contain "<sharing".
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:53
C:\Work\projects\php-redmine-api\lib\Redmine\Api\Version.php:111
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\VersionTest.php:758
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
28) Redmine\Tests\Api\VersionTest::testCreateWithValidEmptySharing with data set #2 ('')
Expectation failed for method name is equal to <string:post> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::post('/projects/test/versions.xml', '<?xml version="1.0"?>\n<versio...sion>\n') does not match expected value.
Failed asserting that '<?xml version="1.0"?>
<version><name>Test version</name></version>
' starts with "<?xml version="1.0"?>
<version>" and ends with "</version>
" and contains "<name>test version</name>" and does not contain "<sharing".
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:53
C:\Work\projects\php-redmine-api\lib\Redmine\Api\Version.php:111
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\VersionTest.php:758
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
29) Redmine\Tests\Api\VersionTest::testUpdateWithValidSharing with data set #0 ('none', '<sharing>none</sharing>')
Expectation failed for method name is equal to <string:put> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::put('/versions/test.xml', '<?xml version="1.0"?>\n<versio...sion>\n') does not match expected value.
Failed asserting that '<?xml version="1.0"?>
<version><name>Test version</name><sharing>none</sharing></version>
' starts with "<?xml version="1.0"?>
<version>" and ends with "</version>
" and contains "<name>test version</name>" and contains "<sharing>none</sharing>".
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:61
C:\Work\projects\php-redmine-api\lib\Redmine\Api\Version.php:140
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\VersionTest.php:837
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
30) Redmine\Tests\Api\VersionTest::testUpdateWithValidSharing with data set #1 ('descendants', '<sharing>descendants</sharing>')
Expectation failed for method name is equal to <string:put> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::put('/versions/test.xml', '<?xml version="1.0"?>\n<versio...sion>\n') does not match expected value.
Failed asserting that '<?xml version="1.0"?>
<version><name>Test version</name><sharing>descendants</sharing></version>
' starts with "<?xml version="1.0"?>
<version>" and ends with "</version>
" and contains "<name>test version</name>" and contains "<sharing>descendants</sharing>".
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:61
C:\Work\projects\php-redmine-api\lib\Redmine\Api\Version.php:140
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\VersionTest.php:837
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
31) Redmine\Tests\Api\VersionTest::testUpdateWithValidSharing with data set #2 ('hierarchy', '<sharing>hierarchy</sharing>')
Expectation failed for method name is equal to <string:put> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::put('/versions/test.xml', '<?xml version="1.0"?>\n<versio...sion>\n') does not match expected value.
Failed asserting that '<?xml version="1.0"?>
<version><name>Test version</name><sharing>hierarchy</sharing></version>
' starts with "<?xml version="1.0"?>
<version>" and ends with "</version>
" and contains "<name>test version</name>" and contains "<sharing>hierarchy</sharing>".
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:61
C:\Work\projects\php-redmine-api\lib\Redmine\Api\Version.php:140
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\VersionTest.php:837
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
32) Redmine\Tests\Api\VersionTest::testUpdateWithValidSharing with data set #3 ('tree', '<sharing>tree</sharing>')
Expectation failed for method name is equal to <string:put> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::put('/versions/test.xml', '<?xml version="1.0"?>\n<versio...sion>\n') does not match expected value.
Failed asserting that '<?xml version="1.0"?>
<version><name>Test version</name><sharing>tree</sharing></version>
' starts with "<?xml version="1.0"?>
<version>" and ends with "</version>
" and contains "<name>test version</name>" and contains "<sharing>tree</sharing>".
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:61
C:\Work\projects\php-redmine-api\lib\Redmine\Api\Version.php:140
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\VersionTest.php:837
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
33) Redmine\Tests\Api\VersionTest::testUpdateWithValidSharing with data set #4 ('system', '<sharing>system</sharing>')
Expectation failed for method name is equal to <string:put> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::put('/versions/test.xml', '<?xml version="1.0"?>\n<versio...sion>\n') does not match expected value.
Failed asserting that '<?xml version="1.0"?>
<version><name>Test version</name><sharing>system</sharing></version>
' starts with "<?xml version="1.0"?>
<version>" and ends with "</version>
" and contains "<name>test version</name>" and contains "<sharing>system</sharing>".
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:61
C:\Work\projects\php-redmine-api\lib\Redmine\Api\Version.php:140
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\VersionTest.php:837
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
34) Redmine\Tests\Api\VersionTest::testUpdateWithValidEmptySharing with data set #0 (NULL)
Expectation failed for method name is equal to <string:put> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::put('/versions/test.xml', '<?xml version="1.0"?>\n<versio...sion>\n') does not match expected value.
Failed asserting that '<?xml version="1.0"?>
<version><name>Test version</name></version>
' starts with "<?xml version="1.0"?>
<version>" and ends with "</version>
" and contains "<name>test version</name>" and does not contain "<sharing".
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:61
C:\Work\projects\php-redmine-api\lib\Redmine\Api\Version.php:140
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\VersionTest.php:884
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
35) Redmine\Tests\Api\VersionTest::testUpdateWithValidEmptySharing with data set #1 (false)
Expectation failed for method name is equal to <string:put> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::put('/versions/test.xml', '<?xml version="1.0"?>\n<versio...sion>\n') does not match expected value.
Failed asserting that '<?xml version="1.0"?>
<version><name>Test version</name></version>
' starts with "<?xml version="1.0"?>
<version>" and ends with "</version>
" and contains "<name>test version</name>" and does not contain "<sharing".
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:61
C:\Work\projects\php-redmine-api\lib\Redmine\Api\Version.php:140
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\VersionTest.php:884
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
36) Redmine\Tests\Api\VersionTest::testUpdateWithValidEmptySharing with data set #2 ('')
Expectation failed for method name is equal to <string:put> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::put('/versions/test.xml', '<?xml version="1.0"?>\n<versio...sion>\n') does not match expected value.
Failed asserting that '<?xml version="1.0"?>
<version><name>Test version</name></version>
' starts with "<?xml version="1.0"?>
<version>" and ends with "</version>
" and contains "<name>test version</name>" and does not contain "<sharing".
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:61
C:\Work\projects\php-redmine-api\lib\Redmine\Api\Version.php:140
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\VersionTest.php:884
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
37) Redmine\Tests\Api\WikiTest::testCreateCallsPost
Expectation failed for method name is equal to <string:put> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::put('/projects/5/wiki/test.xml', '<?xml version="1.0"?>\n<wiki_page/>\n') does not match expected value.
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
'<?xml version="1.0"?>
<wiki_page/>
'
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:61
C:\Work\projects\php-redmine-api\lib\Redmine\Api\Wiki.php:70
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\WikiTest.php:261
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
38) Redmine\Tests\Api\WikiTest::testCreateWithParametersCallsPost
Expectation failed for method name is equal to <string:put> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::put('/projects/5/wiki/test.xml', '<?xml version="1.0"?>\n<wiki_p...page>\n') does not match expected value.
Failed asserting that '<?xml version="1.0"?>
<wiki_page><text>Some page text</text><comments>Initial Edit</comments><title>Test Wikipage</title></wiki_page>
' starts with "<?xml version="1.0"?>
<wiki_page>" and ends with "</wiki_page>
" and contains "<title>test wikipage</title>" and contains "<comments>initial edit</comments>" and contains "<text>some page text</text>".
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:61
C:\Work\projects\php-redmine-api\lib\Redmine\Api\Wiki.php:70
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\WikiTest.php:305
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
39) Redmine\Tests\Api\WikiTest::testUpdateCallsPut
Expectation failed for method name is equal to <string:put> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::put('/projects/5/wiki/test.xml', '<?xml version="1.0"?>\n<wiki_page/>\n') does not match expected value.
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
'<?xml version="1.0"?>
<wiki_page/>
'
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:61
C:\Work\projects\php-redmine-api\lib\Redmine\Api\Wiki.php:70
C:\Work\projects\php-redmine-api\lib\Redmine\Api\Wiki.php:83
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\WikiTest.php:338
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
40) Redmine\Tests\Api\WikiTest::testUpdateWithParametersCallsPut
Expectation failed for method name is equal to <string:put> when invoked 1 time(s)
Parameter 1 for invocation Redmine\Client::put('/projects/5/wiki/test.xml', '<?xml version="1.0"?>\n<wiki_p...page>\n') does not match expected value.
Failed asserting that '<?xml version="1.0"?>
<wiki_page><text>Some page text</text><comments>Initial Edit</comments><title>Test Wikipage</title></wiki_page>
' starts with "<?xml version="1.0"?>
<wiki_page>" and ends with "</wiki_page>
" and contains "<title>test wikipage</title>" and contains "<comments>initial edit</comments>" and contains "<text>some page text</text>".
C:\Work\projects\php-redmine-api\lib\Redmine\Api\AbstractApi.php:61
C:\Work\projects\php-redmine-api\lib\Redmine\Api\Wiki.php:70
C:\Work\projects\php-redmine-api\lib\Redmine\Api\Wiki.php:83
C:\Work\projects\php-redmine-api\test\Redmine\Tests\Api\WikiTest.php:382
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:176
C:\Work\projects\phpunit\vendor\phpunit\phpunit\PHPUnit\TextUI\Command.php:129
�[37;41m �[0m
�[37;41mFAILURES! �[0m
�[37;41mTests: 267, Assertions: 414, Failures: 40.�[0m
from php-redmine-api.
Ok I have tried something and I have found out that when I replace PHP_EOL in tests with simple "\n", everything works.
from php-redmine-api.
closed by #77
from php-redmine-api.
Related Issues (20)
- Do not use temporary cache in `Redmine\Api\...::list()` methods
- [Idea] New CommandClient (High-level API), split Client and Configuration
- Rename `Response::getBody()` to `Response::getContent()`
- Add method `UnexpectedResponseException::getResponse()`
- Check Status Code of responses (especially for POST/PUT/DELETE requests)
- Create factory methods in all API classes
- Declare all `Redmine\Api\...` classes as final
- Deprecate `AbstractApi::get()`, `AbstractApi::post()`, `AbstractApi::put()` and `AbstractApi::delete()`
- Wiki page title must be urlencoded
- Third party package support: Could not create XML from array HOT 3
- Fix @deprecated phpdoc syntax
- Deprecate all `\Redmine\Api\Issue::PRIO_*` constants
- Remove `\Redmine\Api\Issue::PRIO_*` constants
- Update to Redmine 5.0.8 and 5.1.2 in tests HOT 1
- Deprecate `getLastResponseStatusCode`, `getLastResponseContentType` and `getLastResponseBody` in Clients
- author_id Params Not Working When Creating New Issue HOT 1
- XML/JSON parameter mismatch in TimeEntry.php HOT 9
- Remove `Redmine\Api\...::listing()` methods
- Deprecate all `Redmine\Api\*::getIdByName()` methods
- Remove all `Redmine\Api\*::getIdByName()` methods
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-redmine-api.