gladiopeace / opensocial-php-client

Automatically exported from code.google.com/p/opensocial-php-client
Apache License 2.0
0 stars 0 forks source link

Failing tests against 3 legged Partuza #36

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Running the unit tests currently has several errors which should be fixed.
 The issue is that a HttpProvider is not being passed to the
PartuzaProvider in line 45 of
http://code.google.com/p/opensocial-php-client/source/browse/trunk/test/auth/osa
piOAuth3LeggedTest.php

Test output:
There were 5 errors:

1) test__construct(osapiOAuth3LeggedTest)
Argument 1 passed to osapiPartuzaProvider::__construct() must be an
instance of osapiHttpProvider, string given, called in
/Users/kurrik/workspace/opensocial-php-client/trunk/src/osapi/providers/osapiPar
tuzaProvider.php
on line 49 and defined
/Users/kurrik/workspace/opensocial-php-client/trunk/src/osapi/providers/osapiPar
tuzaProvider.php:23
/Users/kurrik/workspace/opensocial-php-client/trunk/src/osapi/providers/osapiPar
tuzaProvider.php:49
/Users/kurrik/workspace/opensocial-php-client/trunk/test/auth/osapiOAuth3LeggedT
est.php:45

2) testObtainRequestTokenSuccess(osapiOAuth3LeggedTest)
Argument 1 passed to osapiPartuzaProvider::__construct() must be an
instance of osapiHttpProvider, string given, called in
/Users/kurrik/workspace/opensocial-php-client/trunk/src/osapi/providers/osapiPar
tuzaProvider.php
on line 49 and defined
/Users/kurrik/workspace/opensocial-php-client/trunk/src/osapi/providers/osapiPar
tuzaProvider.php:23
/Users/kurrik/workspace/opensocial-php-client/trunk/src/osapi/providers/osapiPar
tuzaProvider.php:49
/Users/kurrik/workspace/opensocial-php-client/trunk/test/auth/osapiOAuth3LeggedT
est.php:45

3) testObtainRequestTokenFail(osapiOAuth3LeggedTest)
Argument 1 passed to osapiPartuzaProvider::__construct() must be an
instance of osapiHttpProvider, string given, called in
/Users/kurrik/workspace/opensocial-php-client/trunk/src/osapi/providers/osapiPar
tuzaProvider.php
on line 49 and defined
/Users/kurrik/workspace/opensocial-php-client/trunk/src/osapi/providers/osapiPar
tuzaProvider.php:23
/Users/kurrik/workspace/opensocial-php-client/trunk/src/osapi/providers/osapiPar
tuzaProvider.php:49
/Users/kurrik/workspace/opensocial-php-client/trunk/test/auth/osapiOAuth3LeggedT
est.php:45

4) testUpgradeRequestTokenSuccess(osapiOAuth3LeggedTest)
Argument 1 passed to osapiPartuzaProvider::__construct() must be an
instance of osapiHttpProvider, string given, called in
/Users/kurrik/workspace/opensocial-php-client/trunk/src/osapi/providers/osapiPar
tuzaProvider.php
on line 49 and defined
/Users/kurrik/workspace/opensocial-php-client/trunk/src/osapi/providers/osapiPar
tuzaProvider.php:23
/Users/kurrik/workspace/opensocial-php-client/trunk/src/osapi/providers/osapiPar
tuzaProvider.php:49
/Users/kurrik/workspace/opensocial-php-client/trunk/test/auth/osapiOAuth3LeggedT
est.php:45

5) testUpgradeRequestTokenFail(osapiOAuth3LeggedTest)
Argument 1 passed to osapiPartuzaProvider::__construct() must be an
instance of osapiHttpProvider, string given, called in
/Users/kurrik/workspace/opensocial-php-client/trunk/src/osapi/providers/osapiPar
tuzaProvider.php
on line 49 and defined
/Users/kurrik/workspace/opensocial-php-client/trunk/src/osapi/providers/osapiPar
tuzaProvider.php:23
/Users/kurrik/workspace/opensocial-php-client/trunk/src/osapi/providers/osapiPar
tuzaProvider.php:49
/Users/kurrik/workspace/opensocial-php-client/trunk/test/auth/osapiOAuth3LeggedT
est.php:45

Original issue reported on code.google.com by api.kurrik%google.com@gtempaccount.com on 14 May 2009 at 1:26

GoogleCodeExporter commented 9 years ago
Fixed in r119.

Original comment by api.kurrik%google.com@gtempaccount.com on 29 May 2009 at 10:31