Export to GitHub

jsontoken - issue #1

JsonTokenTest fails


Posted on Aug 17, 2011 by Grumpy Rabbit

What steps will reproduce the problem? 1. mvn test -Dtest=JsonTokenTest

What is the expected output? What do you see instead? tests should pass, the error is:

Results :

Failed tests: testCreateJsonToken(net.oauth.jsontoken.JsonTokenTest): expected:<...hbGciOiJIUzI1NiIsImtpZCI6ImtleTIifQ.eyJpc3MiOiJnb29nbGUuY29tIiwiYmFyIjoxNSwiZm9vIjoic29tZSB2YWx1ZSIsImF1ZCI6Imh0dHA6Ly93d3cuZ29vZ2xlLmNvbSIsImlhdCI6MTI3NjY2OTcyMiwiZXhwIjoxMjc2NjY5NzIyfQ.jKcuP6BR_-cKpQv2XdFLguYgOxw4ahkZiqjcgrQcm70> but was:<...tZW1iZXJzIjp7ImFsZyI6e30sImtpZCI6e319fQ.eyJtZW1iZXJzIjp7ImlzcyI6e30sImJhciI6e30sImZvbyI6e30sImF1ZCI6e30sImlhdCI6e30sImV4cCI6e319fQ.lccHLtj8zadeTRfbISWZ9SDdprwdvL5eANUfRcFXJkc>

Tests in error: testPublicKey(net.oauth.jsontoken.JsonTokenTest): JWT header is missing the required 'alg' parameter

What version of the product are you using? On what operating system? similar failures in trunk (r34) and the 1.0 tag.

Please provide any additional information below. OSX 10.6, Java 1.6, maven 3.0.3

see attempt to use this here: http://groups.google.com/group/in-app-payments/browse_thread/thread/d9aeddaab4d40f74

Comment #1

Posted on Jun 29, 2012 by Grumpy Rabbit

Comment deleted

Comment #2

Posted on Jun 29, 2012 by Happy Wombat

Comment deleted

Comment #3

Posted on Jun 29, 2012 by Grumpy Rabbit

Comment deleted

Comment #4

Posted on Jun 29, 2012 by Grumpy Rabbit

Correction, the tests run and pass when I checked everything out in a clean environment. Therefore the problem is likely local to my own machine. Now I have to figure out what the problem is. Sorry for the noise, apparently this is not a bug.

Comment #5

Posted on Dec 30, 2014 by Grumpy Horse

Marking this as a non-issue.

Status: Invalid

Labels:
Type-Defect Priority-Medium