renamed JUnit Test class

This commit is contained in:
Francesco Mangiacrapa 2024-04-16 17:44:25 +02:00
parent 0003c9a12c
commit acf307125a
1 changed files with 5 additions and 5 deletions

View File

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