diff options
author | Pascal Rapicault | 2011-01-10 20:25:11 +0000 |
---|---|---|
committer | Pascal Rapicault | 2011-01-10 20:25:11 +0000 |
commit | 40baeaa9de2c991106bfc58030a51cc6aaba13b8 (patch) | |
tree | 0671b76b7776ee2ebd3fda26b123b3668e254941 | |
parent | 3cdf8eff7b099145063d07c11430fdb23bfda643 (diff) | |
download | rt.equinox.p2-40baeaa9de2c991106bfc58030a51cc6aaba13b8.tar.gz rt.equinox.p2-40baeaa9de2c991106bfc58030a51cc6aaba13b8.tar.xz rt.equinox.p2-40baeaa9de2c991106bfc58030a51cc6aaba13b8.zip |
Bug 333746 - Test failures in HEAD
-rw-r--r-- | bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/publisher/actions/ActionTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/publisher/actions/ActionTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/publisher/actions/ActionTest.java index e17fbe3d5..d7a774800 100644 --- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/publisher/actions/ActionTest.java +++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/publisher/actions/ActionTest.java @@ -169,8 +169,8 @@ public abstract class ActionTest extends AbstractProvisioningTest { * Do not call this method, it is called by <code>setupPublisherInfo</code>. */ protected void insertPublisherInfoBehavior() { - expect(publisherInfo.getMetadataRepository()).andReturn(null).anyTimes(); - expect(publisherInfo.getContextMetadataRepository()).andReturn(null).anyTimes(); + expect(publisherInfo.getMetadataRepository()).andReturn(createTestMetdataRepository(new IInstallableUnit[0])).anyTimes(); + expect(publisherInfo.getContextMetadataRepository()).andReturn(createTestMetdataRepository(new IInstallableUnit[0])).anyTimes(); } public void cleanup() { |