renamed JUnit Test class
This commit is contained in:
parent
0003c9a12c
commit
acf307125a
|
@ -35,13 +35,13 @@ import org.junit.Test;
|
||||||
import com.fasterxml.jackson.core.JsonProcessingException;
|
import com.fasterxml.jackson.core.JsonProcessingException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The Class CatalogueBindingPluginTest.
|
* The Class NotificationsPluginTest.
|
||||||
*
|
*
|
||||||
* @author Francesco Mangiacrapa at ISTI-CNR francesco.mangiacrapa@isti.cnr.it
|
* @author Francesco Mangiacrapa at ISTI-CNR francesco.mangiacrapa@isti.cnr.it
|
||||||
*
|
*
|
||||||
* Apr 10, 2024
|
* Apr 10, 2024
|
||||||
*/
|
*/
|
||||||
public class CatalogueBindingPluginTest extends BasicPluginTest {
|
public class NotificationsPluginTest extends BasicPluginTest {
|
||||||
|
|
||||||
NotificationsPlugin plugin;
|
NotificationsPlugin plugin;
|
||||||
|
|
||||||
|
@ -171,7 +171,7 @@ public class CatalogueBindingPluginTest extends BasicPluginTest {
|
||||||
/**
|
/**
|
||||||
* Check the VRE POST
|
* Check the VRE POST
|
||||||
*/
|
*/
|
||||||
//@Test
|
@Test
|
||||||
public void checkNotifications_LIFECYCLE_STEP_PERFORMED_TO_APPROVE_SUBMITTED() {
|
public void checkNotifications_LIFECYCLE_STEP_PERFORMED_TO_APPROVE_SUBMITTED() {
|
||||||
org.junit.Assume.assumeTrue(GCubeTest.isTestInfrastructureEnabled());
|
org.junit.Assume.assumeTrue(GCubeTest.isTestInfrastructureEnabled());
|
||||||
UseCaseDescriptor descriptor = TestProfiles.profiles.get("profiledConcessioni");
|
UseCaseDescriptor descriptor = TestProfiles.profiles.get("profiledConcessioni");
|
||||||
|
@ -192,7 +192,7 @@ public class CatalogueBindingPluginTest extends BasicPluginTest {
|
||||||
|
|
||||||
//Setting creator
|
//Setting creator
|
||||||
User creator = new User();
|
User creator = new User();
|
||||||
creator.setUsername("gianluca.vannini");
|
creator.setUsername("massimiliano.assante");
|
||||||
item.getProject().getInfo().getCreationInfo().setUser(creator);
|
item.getProject().getInfo().getCreationInfo().setUser(creator);
|
||||||
|
|
||||||
EventManager.Event event = Event.LIFECYCLE_STEP_PERFORMED;
|
EventManager.Event event = Event.LIFECYCLE_STEP_PERFORMED;
|
||||||
|
@ -264,7 +264,7 @@ public class CatalogueBindingPluginTest extends BasicPluginTest {
|
||||||
testProject.setInfo(info);
|
testProject.setInfo(info);
|
||||||
|
|
||||||
Document theDocument = new Document();
|
Document theDocument = new Document();
|
||||||
theDocument.append("name", "My Best Project");
|
theDocument.append("name", "My Great Project");
|
||||||
testProject.setTheDocument(theDocument);
|
testProject.setTheDocument(theDocument);
|
||||||
|
|
||||||
LifecycleInformation lifecycleInfo = new LifecycleInformation();
|
LifecycleInformation lifecycleInfo = new LifecycleInformation();
|
Loading…
Reference in New Issue