Fixes a broken imports test Change-Id: Iee6101fe9034b1267a4092c750f2018c94be3b50
diff --git a/com.google.eclipse.protobuf.test/src/com/google/eclipse/protobuf/validation/ImportValidator_checkUnknownSyntaxImports_withNonProto2Imports_Tests.java b/com.google.eclipse.protobuf.test/src/com/google/eclipse/protobuf/validation/ImportValidator_checkUnknownSyntaxImports_withNonProto2Imports_Tests.java index 47e4e6c..c8b91bc 100644 --- a/com.google.eclipse.protobuf.test/src/com/google/eclipse/protobuf/validation/ImportValidator_checkUnknownSyntaxImports_withNonProto2Imports_Tests.java +++ b/com.google.eclipse.protobuf.test/src/com/google/eclipse/protobuf/validation/ImportValidator_checkUnknownSyntaxImports_withNonProto2Imports_Tests.java
@@ -10,7 +10,7 @@ import static com.google.eclipse.protobuf.junit.core.IntegrationTestModule.integrationTestModule; import static com.google.eclipse.protobuf.junit.core.XtextRule.overrideRuntimeModuleWith; -import static com.google.eclipse.protobuf.protobuf.ProtobufPackage.Literals.PACKAGE__IMPORTED_NAMESPACE; +import static com.google.eclipse.protobuf.protobuf.ProtobufPackage.Literals.IMPORT__PATH; import static com.google.eclipse.protobuf.validation.Messages.importingUnsupportedSyntax; import static org.eclipse.xtext.validation.ValidationMessageAcceptor.INSIGNIFICANT_INDEX; import static org.mockito.Mockito.mock; @@ -104,7 +104,7 @@ private void verifyThatImportingUnknownSyntaxFileCreatedWarning(Import anImport) { verify(messageAcceptor).acceptWarning(importingUnsupportedSyntax, anImport, - PACKAGE__IMPORTED_NAMESPACE, + IMPORT__PATH, INSIGNIFICANT_INDEX, null, new String[0]);