Use neon-compatible api in test

Change-Id: I29afd0c23f6e2b43d1095fce6ee4e3e1fad828a9
Signed-off-by: Balázs Grill <balazs.grill@incquerylabs.com>
diff --git a/tests/org.eclipse.sphinx.tests.emf.viatra.query/src/org/eclipse/sphinx/tests/emf/viatra/query/WorkspaceScopingViatraQueryTest.java b/tests/org.eclipse.sphinx.tests.emf.viatra.query/src/org/eclipse/sphinx/tests/emf/viatra/query/WorkspaceScopingViatraQueryTest.java
index 3c52c9d..f7ab567 100644
--- a/tests/org.eclipse.sphinx.tests.emf.viatra.query/src/org/eclipse/sphinx/tests/emf/viatra/query/WorkspaceScopingViatraQueryTest.java
+++ b/tests/org.eclipse.sphinx.tests.emf.viatra.query/src/org/eclipse/sphinx/tests/emf/viatra/query/WorkspaceScopingViatraQueryTest.java
@@ -88,7 +88,7 @@
 

 	private void copyToProject(String path, IProject project) throws CoreException, IOException {

 		IPath p = new Path(path);

-		URL url = FileLocator.find(Activator.getPlugin().getBundle(), p);

+		URL url = FileLocator.find(Activator.getPlugin().getBundle(), p, null);

 		IFile f = project.getFile(p.lastSegment());

 		f.create(url.openStream(), true, new NullProgressMonitor());

 	}