Fixed test
This commit is contained in:
parent
2dba63771b
commit
ffd20403da
|
@ -62,7 +62,7 @@ public class JsonQueryTest extends ContextTest {
|
||||||
logger.info("Created Query from JSON: {}", createdStringBuffer.toString());
|
logger.info("Created Query from JSON: {}", createdStringBuffer.toString());
|
||||||
|
|
||||||
StringBuffer expectedStringBuffer = new StringBuffer();
|
StringBuffer expectedStringBuffer = new StringBuffer();
|
||||||
File expectedQueryFile = new File(queriesDirectory, jsonQueryFile.getName().replace("json", "query"));
|
File expectedQueryFile = new File(queriesDirectory, jsonQueryFile.getName().replace("json", "oquery"));
|
||||||
try(BufferedReader br = new BufferedReader(new FileReader(expectedQueryFile))) {
|
try(BufferedReader br = new BufferedReader(new FileReader(expectedQueryFile))) {
|
||||||
for(String line; (line = br.readLine()) != null; ) {
|
for(String line; (line = br.readLine()) != null; ) {
|
||||||
expectedStringBuffer.append(line);
|
expectedStringBuffer.append(line);
|
||||||
|
@ -93,7 +93,7 @@ public class JsonQueryTest extends ContextTest {
|
||||||
logger.info("Created Query from JSON: {}", createdStringBuffer.toString());
|
logger.info("Created Query from JSON: {}", createdStringBuffer.toString());
|
||||||
|
|
||||||
StringBuffer expectedStringBuffer = new StringBuffer();
|
StringBuffer expectedStringBuffer = new StringBuffer();
|
||||||
File expectedQueryFile = new File(queriesDirectory, jsonQueryFile.getName().replace("json", "query"));
|
File expectedQueryFile = new File(queriesDirectory, jsonQueryFile.getName().replace("json", "oquery"));
|
||||||
try(BufferedReader br = new BufferedReader(new FileReader(expectedQueryFile))) {
|
try(BufferedReader br = new BufferedReader(new FileReader(expectedQueryFile))) {
|
||||||
for(String line; (line = br.readLine()) != null; ) {
|
for(String line; (line = br.readLine()) != null; ) {
|
||||||
expectedStringBuffer.append(line);
|
expectedStringBuffer.append(line);
|
||||||
|
|
Loading…
Reference in New Issue