File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+
12language : java
3+
24jdk :
3- - openjdk6
4- - openjdk7
5- - oraclejdk7
5+ - openjdk8
6+
67branches :
78 only :
89 - master
Original file line number Diff line number Diff line change @@ -23,8 +23,11 @@ public void setup()
2323 @ Test
2424 public void shouldExtractStandardHeader ()
2525 {
26- String expected = "OAuth oauth_callback=\" http%3A%2F%2Fexample%2Fcallback\" , " + "oauth_signature=\" OAuth-Signature\" , "
27- + "oauth_consumer_key=\" AS%23%24%5E%2A%40%26\" , " + "oauth_timestamp=\" 123456\" " ;
26+ String expected = "OAuth "
27+ + "oauth_signature=\" OAuth-Signature\" , "
28+ + "oauth_callback=\" http%3A%2F%2Fexample%2Fcallback\" , "
29+ + "oauth_consumer_key=\" AS%23%24%5E%2A%40%26\" , "
30+ + "oauth_timestamp=\" 123456\" " ;
2831 String header = extractor .extract (request );
2932 assertEquals (expected , header );
3033 }
You can’t perform that action at this time.
0 commit comments