Skip to content

Commit

Permalink
[JENKINS-39470] Avoid extra diff.
Browse files Browse the repository at this point in the history
  • Loading branch information
Evaristo Gutiérrez committed Nov 7, 2016
1 parent 5cab126 commit ec5d435
Showing 1 changed file with 1 addition and 4 deletions.
Expand Up @@ -39,13 +39,10 @@ public class SecureRequesterImplTest {
@Rule public JenkinsRule r = new JenkinsRule();

@PresetData(PresetData.DataSet.NO_ANONYMOUS_READACCESS)
@Test
public void authorizing() throws Exception {
@Test public void authorizing() throws Exception {
assertJSONP(null, 403);
assertJSONP("http://apache.org/", 403);

Whitelist.get().configure(null, new JSONObject().accumulate("allowNoReferer", true).accumulate("domains", "apache.org jenkins-ci.org"));

assertJSONP(null, 200);
assertJSONP("http://apache.org/", 200);
assertJSONP("http://jenkins-ci.org/", 200);
Expand Down

0 comments on commit ec5d435

Please sign in to comment.