forked from D-Net/dnet-hadoop
using constants in ModelCOnstants
This commit is contained in:
parent
cd285e98bc
commit
d5efa6963a
|
@ -7,6 +7,7 @@ import java.nio.file.Path;
|
|||
|
||||
import com.cloudera.org.codehaus.jackson.map.jsontype.impl.ClassNameIdResolver;
|
||||
import eu.dnetlib.dhp.PropagationConstant;
|
||||
import eu.dnetlib.dhp.schema.common.ModelConstants;
|
||||
import org.apache.commons.io.FileUtils;
|
||||
import org.apache.spark.SparkConf;
|
||||
import org.apache.spark.api.java.JavaRDD;
|
||||
|
@ -169,7 +170,7 @@ public class OrcidPropagationJobTest {
|
|||
.filter(
|
||||
"id = '50|dedup_wf_001::95b033c0c3961f6a1cdcd41a99a9632e' "
|
||||
+ "and name = 'Vajinder' and surname = 'Kumar' and pidType = '" +
|
||||
PropagationConstant.PROPAGATION_AUTHOR_PID_CLASSID +"'")
|
||||
ModelConstants.ORCID_PENDING + "'")
|
||||
.count());
|
||||
|
||||
Assertions.assertEquals(1, propagatedAuthors.filter("pid = '0000-0002-8825-3517'").count());
|
||||
|
|
Loading…
Reference in New Issue