diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2014-05-28 12:53:16 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2014-05-28 12:53:16 +0200 |
commit | 07dfc41c47053282f00d0781ce12bc62fd795231 (patch) | |
tree | e1ef8607abaa3c62d7135c601c347493a7710af8 /sonar-ws-client/src/test/java/org | |
parent | 19397ac0aaf022afabbbdde4686edc550c8a5d36 (diff) | |
download | sonarqube-07dfc41c47053282f00d0781ce12bc62fd795231.tar.gz sonarqube-07dfc41c47053282f00d0781ce12bc62fd795231.zip |
TestCase should not contain File object
Diffstat (limited to 'sonar-ws-client/src/test/java/org')
-rw-r--r-- | sonar-ws-client/src/test/java/org/sonar/wsclient/test/internal/DefaultTestClientTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-ws-client/src/test/java/org/sonar/wsclient/test/internal/DefaultTestClientTest.java b/sonar-ws-client/src/test/java/org/sonar/wsclient/test/internal/DefaultTestClientTest.java index 150ec009129..bb88852e144 100644 --- a/sonar-ws-client/src/test/java/org/sonar/wsclient/test/internal/DefaultTestClientTest.java +++ b/sonar-ws-client/src/test/java/org/sonar/wsclient/test/internal/DefaultTestClientTest.java @@ -74,7 +74,7 @@ public class DefaultTestClientTest { assertThat(testCase.status()).isEqualTo("OK"); assertThat(testCase.durationInMs()).isEqualTo(10L); - TestableTestCases.File file = testCase.file(); + TestableTestCases.File file = coveringTestCases.fileByTest("find_by_params"); assertThat(file.key()).isEqualTo("org.codehaus.sonar:sonar-server:src/test/java/org/sonar/server/rule/RubyRuleServiceTest.java"); assertThat(file.longName()).isEqualTo("src/test/java/org/sonar/server/rule/RubyRuleServiceTest.java"); } |