Skip to content

Commit

Permalink
Renamed test to more appropriate name and pretty print the schema
Browse files Browse the repository at this point in the history
Signed-off-by:Phillip Kruger <phillip.kruger@gmail.com>
  • Loading branch information
phillip-kruger committed Oct 21, 2019
1 parent 7e159d9 commit 8c29e48
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
*
* @author Phillip Kruger (phillip.kruger@redhat.com)
*/
public class SchemaAvailableTest extends Arquillian {
private static final Logger LOG = Logger.getLogger(SchemaAvailableTest.class.getName());
public class SchemaValidityTest extends Arquillian {
private static final Logger LOG = Logger.getLogger(SchemaValidityTest.class.getName());
private static final String PATH = "graphql/schema.graphql";

@ArquillianResource
Expand Down Expand Up @@ -368,6 +368,7 @@ private String getContent(HttpURLConnection connection) throws IOException{
String inputLine;
while ((inputLine = in.readLine()) != null){
sw.write(inputLine);
sw.write("\n");
}
return sw.toString();
}
Expand Down

0 comments on commit 8c29e48

Please sign in to comment.