Skip to content

Commit 5465618

Browse files
committed
fix test
1 parent bd30bb6 commit 5465618

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
12
language: java
3+
24
jdk:
3-
- openjdk6
4-
- openjdk7
5-
- oraclejdk7
5+
- openjdk8
6+
67
branches:
78
only:
89
- master

src/test/java/org/scribe/extractors/HeaderExtractorTest.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)