diff options
author | David Gageot <david@gageot.net> | 2015-07-07 10:55:34 +0200 |
---|---|---|
committer | David Gageot <david@gageot.net> | 2015-07-07 11:36:26 +0200 |
commit | 0159164dba722d784ecd98fb94b80ff63a50649b (patch) | |
tree | e7123b2b107853b926d0019f8b5640831d616822 /it | |
parent | 8ab266708a6be86486b3ab4e44d1d94b708d43c9 (diff) | |
download | sonarqube-0159164dba722d784ecd98fb94b80ff63a50649b.tar.gz sonarqube-0159164dba722d784ecd98fb94b80ff63a50649b.zip |
Migrate assert to AssertJ
Diffstat (limited to 'it')
-rw-r--r-- | it/it-tests/src/test/java/updatecenter/UpdateCenterTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/it/it-tests/src/test/java/updatecenter/UpdateCenterTest.java b/it/it-tests/src/test/java/updatecenter/UpdateCenterTest.java index a1b493cf375..373f337b2ec 100644 --- a/it/it-tests/src/test/java/updatecenter/UpdateCenterTest.java +++ b/it/it-tests/src/test/java/updatecenter/UpdateCenterTest.java @@ -14,7 +14,6 @@ import org.junit.Test; import org.sonar.wsclient.services.Plugin; import org.sonar.wsclient.services.UpdateCenterQuery; -import static junit.framework.Assert.assertNotNull; import static org.assertj.core.api.Assertions.assertThat; import static util.ItUtils.pluginArtifact; @@ -32,7 +31,8 @@ public class UpdateCenterTest { assertThat(plugins.size()).isGreaterThan(0); Plugin installedPlugin = findPlugin(plugins, "fake"); - assertNotNull(installedPlugin); + + assertThat(installedPlugin).isNotNull(); assertThat(installedPlugin.getName()).isEqualTo("Plugins :: Fake"); assertThat(installedPlugin.getVersion()).isEqualTo("1.0-SNAPSHOT"); } |