gcode-mirror / oauth-php

Automatically exported from code.google.com/p/oauth-php
MIT License
0 stars 0 forks source link

Some tests fail at r130 #49

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Download the source at r130
$ svn checkout -r 130 http://oauth-php.googlecode.com/svn/trunk/ 
oauth-php-read-only

2. Run the test
$ php oauth-php-read-only/test/oauth_test.php

What is the expected output? What do you see instead?

Expected:
Performing OAuth module tests.

See also: http://wiki.oauth.net/TestCases

***** Parameter Encoding *****

***** Normalize Request Parameters *****

***** Base String *****

***** HMAC-SHA1 *****
Request signing
***** HMAC-SHA1 *****
Request verification

***** Yahoo! test case ******

Seen:
Performing OAuth module tests.

See also: http://wiki.oauth.net/TestCases

***** Parameter Encoding *****

***** Normalize Request Parameters *****

Assertion failed in 
/Users/simonreekie/Tmp/oauth-php-read-only/test/oauth_test.php:90
   $req->getNormalizedParams() == 'a=x%20y&b=x%21y'

***** Base String *****

Assertion failed in 
/Users/simonreekie/Tmp/oauth-php-read-only/test/oauth_test.php:106
   $req->signatureBaseString() == 'POST&https%3A%2F%2Fphotos.example.net%2Frequest_token&oauth_consumer_key%3Ddpf43f3p2l4k3l03%26oauth_nonce%3Dhsu94j3884jdopsl%26oauth_signature_method%3DPLAINTEXT%26oauth_timestamp%3D1191242090%26oauth_version%3D1.0'

***** HMAC-SHA1 *****
Request signing
***** HMAC-SHA1 *****
Request verification

***** Yahoo! test case ******

What version of the product are you using? On what operating system?

Tests fail from r102 to r130, last working tests appears to be r101
PHP 5.3.1 on MacBook, Darwin Kernel Version 10.3.0

Please provide any additional information below.

I'm assuming the tests do not require updated schema to support oauth_verifier. 
All tests were run against a schema created from an r98 download.

Original issue reported on code.google.com by simon.re...@gmail.com on 15 Jun 2010 at 10:57

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r131.

Original comment by fiedler....@gmail.com on 15 Jun 2010 at 6:40