Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ErlingHauan committed Sep 27, 2024
1 parent 5008f9e commit e7b2742
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@

namespace Designer.Tests.Controllers.ProcessModelingController.FileSync.TaskIdChangeTests;

public class LayoutFilesSyncTaskIdTests : DesignerEndpointsTestsBase<LayoutFilesSyncTaskIdTests>, IClassFixture<WebApplicationFactory<Program>>
public class LayoutFileSyncTaskIdTests : DesignerEndpointsTestsBase<LayoutFileSyncTaskIdTests>, IClassFixture<WebApplicationFactory<Program>>
{
public LayoutFilesSyncTaskIdTests(WebApplicationFactory<Program> factory) : base(factory)
public LayoutFileSyncTaskIdTests(WebApplicationFactory<Program> factory) : base(factory)
{
}

Expand Down Expand Up @@ -121,16 +121,16 @@ public async Task UpsertProcessDefinitionAndNotify_ShouldNotUpdateLayout_WhenUnr
layoutAfterUpdate.Should().Be(layoutBeforeUpdate);
}

// "Task_1" is targeted by Summary2 component in "app-with-layoutsets"
public static IEnumerable<object[]> GetReferencedTaskIdTestData()
{
// "Task_1" is targeted by Summary2 component in "app-with-layoutsets"
yield return new object[] { "ttd", "app-with-layoutsets", "testUser", "App/config/process/process.bpmn",
new ProcessDefinitionMetadata { TaskIdChange = new TaskIdChange { OldId = "Task_1", NewId = "SomeNewId" } } };
}

// "Task_2" is not targeted by Summary2 component in "app-with-layoutsets"
public static IEnumerable<object[]> GetUnreferencedTaskIdTestData()
{
// "Task_2" is not targeted by Summary2 component in "app-with-layoutsets"
yield return new object[] { "ttd", "app-with-layoutsets", "testUser", "App/config/process/process.bpmn",
new ProcessDefinitionMetadata { TaskIdChange = new TaskIdChange { OldId = "Task_2", NewId = "SomeNewId" } } };
}
Expand Down

0 comments on commit e7b2742

Please sign in to comment.