Skip to content

Commit

Permalink
chore: more sync endpoints (#14046)
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkoSekulic authored Nov 13, 2024
1 parent 43e8ffb commit f77d7a9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,15 @@ public class EndpointNameSyncEvaluator : IRequestSyncEvaluator
{
nameof(AppDevelopmentController).Replace(RemoveControllerSuffix, string.Empty),
GenerateFrozenSet(
nameof(AppDevelopmentController.SaveLayoutSettings)
nameof(AppDevelopmentController.SaveFormLayout),
nameof(AppDevelopmentController.UpdateFormLayoutName),
nameof(AppDevelopmentController.SaveLayoutSettings),
nameof(AppDevelopmentController.SaveRuleHandler),
nameof(AppDevelopmentController.SaveRuleConfig),
nameof(AppDevelopmentController.AddLayoutSet),
nameof(AppDevelopmentController.UpdateLayoutSetName),
nameof(AppDevelopmentController.DeleteFormLayout),
nameof(AppDevelopmentController.DeleteLayoutSet)
)
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,6 @@ public SaveRuleHandlerTests(WebApplicationFactory<Program> factory) : base(facto
{
}

protected override void ConfigureTestServices(IServiceCollection services)
{
services.Configure<ServiceRepositorySettings>(c =>
c.RepositoryLocation = TestRepositoriesLocation);
services.AddSingleton<IGitea, IGiteaMock>();
}

[Theory]
[InlineData("ttd", "app-with-layoutsets", "testUser", "layoutSet1", "TestData/App/ui/changename/RuleHandler.js")]
[InlineData("ttd", "app-with-layoutsets", "testUser", "layoutSet1", "TestData/App/ui/datalist/RuleHandler.js")]
Expand Down

0 comments on commit f77d7a9

Please sign in to comment.