Skip to content
Permalink
Browse files

[JENKINS-39470] Avoid extra diff.

  • Loading branch information...
varyvol committed Nov 7, 2016
1 parent 5cab126 commit ec5d4353fea53b986057eff50942009e7bb4dbfe
@@ -39,13 +39,10 @@
@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);

0 comments on commit ec5d435

Please sign in to comment.
You can’t perform that action at this time.