mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-03 12:05:52 +01:00
fix unit test
This commit is contained in:
@@ -10,12 +10,14 @@ public class PluginTestHelper {
|
|||||||
public static AvailablePlugin createAvailable(String name) {
|
public static AvailablePlugin createAvailable(String name) {
|
||||||
PluginInformation information = new PluginInformation();
|
PluginInformation information = new PluginInformation();
|
||||||
information.setName(name);
|
information.setName(name);
|
||||||
|
information.setVersion("1.0");
|
||||||
return createAvailable(information);
|
return createAvailable(information);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static InstalledPlugin createInstalled(String name) {
|
public static InstalledPlugin createInstalled(String name) {
|
||||||
PluginInformation information = new PluginInformation();
|
PluginInformation information = new PluginInformation();
|
||||||
information.setName(name);
|
information.setName(name);
|
||||||
|
information.setVersion("1.0");
|
||||||
return createInstalled(information);
|
return createInstalled(information);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user