aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws-client/src/test/java/org/sonar/wsclient/services/UpdateCenterQueryTest.java
blob: a7be24f929d8096c25155e4069452848705b49a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package org.sonar.wsclient.services;

import org.junit.Test;

import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;

public class UpdateCenterQueryTest {

  @Test
  public void index() {
    UpdateCenterQuery query = UpdateCenterQuery.createForInstalledPlugins();
    assertThat(query.getUrl(), is("/api/updatecenter/installed_plugins"));
  }

}