Browse Source

Ignore timestamp for faster tests

pull/1065/head
Sebastian 2 years ago
parent
commit
1dea3e5655
  1. 2
      backend/src/Squidex/Areas/Api/Controllers/Backups/BackupsController.cs
  2. 2
      backend/tests/Squidex.Domain.Apps.Entities.Tests/TestHelpers/VerifySettings.cs
  3. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.AddLanguage_should_create_events_and_add_language.verified.txt
  4. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.AddRole_should_create_events_and_add_role.verified.txt
  5. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.AddWorkflow_should_create_events_and_add_workflow.verified.txt
  6. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.ArchiveApp_should_create_events_and_update_deleted_flag.verified.txt
  7. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.AssignContributor_should_create_events_and_add_contributor.verified.txt
  8. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.AssignContributor_should_create_update_events_and_update_contributor.verified.txt
  9. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.AttachClient_should_create_events_and_add_client.verified.txt
  10. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.ChangePlan_from_callback_should_create_events_and_update_plan.verified.txt
  11. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.ChangePlan_from_callback_should_reset_plan_for_free_plan.verified.txt
  12. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.ChangePlan_should_create_events_and_update_plan.verified.txt
  13. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.ChangePlan_should_not_call_billing_manager_for_callback.verified.txt
  14. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.ChangePlan_should_reset_plan_for_free_plan.verified.txt
  15. 9
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.Create_should_create_events_and_set_intitial_state.verified.txt
  16. 6
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.Create_should_not_assign_client_as_contributor.verified.txt
  17. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.DeleteRole_should_create_events_and_delete_role.verified.txt
  18. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.DeleteWorkflow_should_create_events_and_remove_workflow.verified.txt
  19. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.RemoveContributor_should_create_events_and_remove_contributor.verified.txt
  20. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.RemoveImage_should_create_events_and_update_image.verified.txt
  21. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.RemoveLanguage_should_create_events_and_remove_language.verified.txt
  22. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.RevokeClient_should_create_events_and_remove_client.verified.txt
  23. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.Transfer_from_team_should_create_events_and_set_team.verified.txt
  24. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.Transfer_should_create_events_and_set_team.verified.txt
  25. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.UpdateClient_should_create_events_and_update_client.verified.txt
  26. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.UpdateLanguage_should_create_events_and_update_language.verified.txt
  27. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.UpdateRole_should_create_events_and_update_role.verified.txt
  28. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.UpdateSettings_should_create_event_and_update_settings.verified.txt
  29. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.UpdateWorkflow_should_create_events_and_update_workflow.verified.txt
  30. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.Update_should_create_events_and_update_label_and_description.verified.txt
  31. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.UploadImage_should_create_events_and_update_image.verified.txt
  32. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AssetDomainObjectTests.AnnotateMetadata_should_create_events_and_update_metadata.verified.txt
  33. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AssetDomainObjectTests.AnnotateName_should_create_events_and_update_file_name.verified.txt
  34. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AssetDomainObjectTests.AnnotateProtected_should_create_events_and_update_protected_flag.verified.txt
  35. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AssetDomainObjectTests.AnnotateSlug_should_create_events_and_update_slug.verified.txt
  36. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AssetDomainObjectTests.AnnotateTags_should_create_events_and_update_tags.verified.txt
  37. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AssetDomainObjectTests.Create_should_create_events_and_set_intitial_state.verified.txt
  38. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AssetDomainObjectTests.Delete_should_create_events_with_total_file_size_and_tags_and_update_deleted_flag.verified.txt
  39. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AssetDomainObjectTests.Move_should_create_events_and_update_parent_id.verified.txt
  40. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AssetDomainObjectTests.Update_should_create_events_and_update_file_state.verified.txt
  41. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AssetDomainObjectTests.Upsert_should_create_events_and_set_intitial_state_if_not_found.verified.txt
  42. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AssetDomainObjectTests.Upsert_should_create_events_and_update_file_state_if_found.verified.txt
  43. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AssetFolderDomainObjectTests.Create_should_create_events_and_set_intitial_state.verified.txt
  44. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AssetFolderDomainObjectTests.Delete_should_create_events_with_total_file_size.verified.txt
  45. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AssetFolderDomainObjectTests.Move_should_create_events_and_update_state.verified.txt
  46. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AssetFolderDomainObjectTests.Update_should_create_events_and_update_state.verified.txt
  47. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.ApplyDefaults_should_update_content.verified.txt
  48. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.CancelContentSchedule_create_events_and_unset_schedule.verified.txt
  49. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.CancelContentSchedule_should_create_events_and_unset_schedule.verified.txt
  50. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.ChangeStatus_create_events_and_set_schedule_if_duetime_set.verified.txt
  51. 6
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.ChangeStatus_should_also_update_if_script_changes_data.verified.txt
  52. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.ChangeStatus_should_create_events_and_delete_new_version_if_available.verified.txt
  53. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.ChangeStatus_should_create_events_and_unset_schedule_if_failed.verified.txt
  54. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.ChangeStatus_should_create_events_and_update_new_version_if_draft_available.verified.txt
  55. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.ChangeStatus_should_create_events_and_update_status_if_changed.verified.txt
  56. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.ChangeStatus_should_create_events_and_update_status_if_published.verified.txt
  57. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.ChangeStatus_should_create_events_and_update_status_if_unpublished.verified.txt
  58. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.ChangeStatus_should_refresh_properties_and_unset_schedule_if_completed.verified.txt
  59. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.CreateDraft_should_create_events_and_update_new_state.verified.txt
  60. 6
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.Create_should_change_status_if_set.verified.txt
  61. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.Create_should_create_events_and_update_data_and_status.verified.txt
  62. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.Create_should_not_change_status_if_set_to_initial.verified.txt
  63. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.DeleteDraft_should_create_events_and_delete_new_version.verified.txt
  64. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.Delete_should_create_events_and_update_deleted_flag.verified.txt
  65. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.EnrichContentDefaults_should_update_content.verified.txt
  66. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.Patch_should_create_events_and_update_data.verified.txt
  67. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.Patch_should_create_events_and_update_new_version_if_draft_available.verified.txt
  68. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.Update_should_create_events_and_update_data.verified.txt
  69. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.Update_should_create_events_and_update_new_version_if_draft_available.verified.txt
  70. 6
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.Upsert_should_change_status_on_create_if_status_set.verified.txt
  71. 6
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.Upsert_should_change_status_on_update_if_status_set.verified.txt
  72. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.Upsert_should_create_content_if_not_found.verified.txt
  73. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.Upsert_should_not_change_status_on_create_if_status_set_to_initial.verified.txt
  74. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.Upsert_should_not_change_status_on_update_if_status_set_to_initial.verified.txt
  75. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.Upsert_should_patch_content_if_found.verified.txt
  76. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.Upsert_should_update_content_if_found.verified.txt
  77. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/RuleDomainObjectTests.Create_should_create_events_and_set_intitial_state.verified.txt
  78. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/RuleDomainObjectTests.Delete_should_create_events_and_update_deleted_flag.verified.txt
  79. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/RuleDomainObjectTests.Disable_should_create_events_and_update_enabled_flag.verified.txt
  80. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/RuleDomainObjectTests.Disable_via_update_should_create_events_and_update_enabled_flag.verified.txt
  81. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/RuleDomainObjectTests.Enable_should_create_events_and_update_enabled_flag.verified.txt
  82. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/RuleDomainObjectTests.Enable_via_update_should_create_events_and_update_enabled_flag.verified.txt
  83. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/RuleDomainObjectTests.Update_should_create_events_and_update_trigger_and_action.verified.txt
  84. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/SchemaDomainObjectTests.Add_should_create_events_and_add_field.verified.txt
  85. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/SchemaDomainObjectTests.Add_should_create_events_and_add_field_to_array.verified.txt
  86. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/SchemaDomainObjectTests.ChangeCategory_should_create_events_and_update_category.verified.txt
  87. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/SchemaDomainObjectTests.ConfigureFieldRules_should_create_events_and_update_schema_field_rules.verified.txt
  88. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/SchemaDomainObjectTests.ConfigurePreviewUrls_should_create_events_and_update_preview_urls.verified.txt
  89. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/SchemaDomainObjectTests.ConfigureScripts_should_create_events_and_update_schema_scripts.verified.txt
  90. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/SchemaDomainObjectTests.ConfigureUIFields_should_create_events_for_list_fields_and_update_schema.verified.txt
  91. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/SchemaDomainObjectTests.ConfigureUIFields_should_create_events_for_reference_fields_and_update_schema.verified.txt
  92. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/SchemaDomainObjectTests.Create_should_create_events_and_schema_with_initial_fields.verified.txt
  93. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/SchemaDomainObjectTests.Create_should_create_events_and_set_intitial_state.verified.txt
  94. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/SchemaDomainObjectTests.DeleteField_should_create_events_and_delete_field.verified.txt
  95. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/SchemaDomainObjectTests.DeleteField_should_create_events_and_delete_nested_field.verified.txt
  96. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/SchemaDomainObjectTests.Delete_should_create_events_and_update_deleted_flag.verified.txt
  97. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/SchemaDomainObjectTests.DisableField_should_create_events_and_update_field_disabled_flag.verified.txt
  98. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/SchemaDomainObjectTests.DisableField_should_create_events_and_update_nested_field_disabled_flag.verified.txt
  99. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/SchemaDomainObjectTests.EnableField_should_create_events_and_update_field_disabled_flag.verified.txt
  100. 3
      backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/SchemaDomainObjectTests.EnableField_should_create_events_and_update_nested_field_disabled_flag.verified.txt

2
backend/src/Squidex/Areas/Api/Controllers/Backups/BackupsController.cs

@ -15,6 +15,8 @@ using Squidex.Infrastructure.Security;
using Squidex.Shared;
using Squidex.Web;
#pragma warning disable CS0618 // Type or member is obsolete
namespace Squidex.Areas.Api.Controllers.Backups;
/// <summary>

2
backend/tests/Squidex.Domain.Apps.Entities.Tests/TestHelpers/VerifySettings.cs

@ -8,6 +8,7 @@
using System.Runtime.CompilerServices;
using Argon;
using NodaTime;
using NodaTime.Text;
using Squidex.Infrastructure;
using Squidex.Infrastructure.Json.Objects;
@ -142,6 +143,7 @@ public static partial class VerifySettings
VerifierSettings.ScrubInlineGuids();
VerifierSettings.IgnoreMembersWithType<Instant>();
VerifierSettings.IgnoreInstance<JsonValue>(x => x.Type == JsonValueType.String && InstantPattern.ExtendedIso.Parse(x.ToString()).Success);
VerifierSettings.IgnoreMember("Secret");
}
}

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.AddLanguage_should_create_events_and_add_language.verified.txt

@ -113,8 +113,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_2,
Timestamp: DateTimeOffset_1
EventId: Guid_2
},
Payload: {
Language: de,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.AddRole_should_create_events_and_add_role.verified.txt

@ -120,8 +120,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_2,
Timestamp: DateTimeOffset_1
EventId: Guid_2
},
Payload: {
Name: My Role,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.AddWorkflow_should_create_events_and_add_workflow.verified.txt

@ -141,8 +141,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
WorkflowId: Guid_2,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.ArchiveApp_should_create_events_and_update_deleted_flag.verified.txt

@ -109,8 +109,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_2,
Timestamp: DateTimeOffset_1
EventId: Guid_2
},
Payload: {
AppId: Guid_1,my-app,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.AssignContributor_should_create_events_and_add_contributor.verified.txt

@ -110,8 +110,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
ContributorId: Guid_2,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.AssignContributor_should_create_update_events_and_update_contributor.verified.txt

@ -110,8 +110,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
ContributorId: Guid_2,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.AttachClient_should_create_events_and_add_client.verified.txt

@ -116,8 +116,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_2,
Timestamp: DateTimeOffset_1
EventId: Guid_2
},
Payload: {
Id: client,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.ChangePlan_from_callback_should_create_events_and_update_plan.verified.txt

@ -113,8 +113,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_2,
Timestamp: DateTimeOffset_1
EventId: Guid_2
},
Payload: {
PlanId: premium,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.ChangePlan_from_callback_should_reset_plan_for_free_plan.verified.txt

@ -109,8 +109,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_2,
Timestamp: DateTimeOffset_1
EventId: Guid_2
},
Payload: {
AppId: Guid_1,my-app,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.ChangePlan_should_create_events_and_update_plan.verified.txt

@ -113,8 +113,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_2,
Timestamp: DateTimeOffset_1
EventId: Guid_2
},
Payload: {
PlanId: premium,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.ChangePlan_should_not_call_billing_manager_for_callback.verified.txt

@ -113,8 +113,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_2,
Timestamp: DateTimeOffset_1
EventId: Guid_2
},
Payload: {
PlanId: premium,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.ChangePlan_should_reset_plan_for_free_plan.verified.txt

@ -109,8 +109,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_2,
Timestamp: DateTimeOffset_1
EventId: Guid_2
},
Payload: {
AppId: Guid_1,my-app,

9
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.Create_should_create_events_and_set_intitial_state.verified.txt

@ -109,8 +109,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_2,
Timestamp: DateTimeOffset_1
EventId: Guid_2
},
Payload: {
Name: my-app,
@ -122,8 +121,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
ContributorId: me,
@ -138,8 +136,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_4,
Timestamp: DateTimeOffset_1
EventId: Guid_4
},
Payload: {
Settings: {

6
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.Create_should_not_assign_client_as_contributor.verified.txt

@ -106,8 +106,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_2,
Timestamp: DateTimeOffset_1
EventId: Guid_2
},
Payload: {
Name: my-app,
@ -119,8 +118,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
Settings: {

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.DeleteRole_should_create_events_and_delete_role.verified.txt

@ -109,8 +109,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_2,
Timestamp: DateTimeOffset_1
EventId: Guid_2
},
Payload: {
Name: My Role,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.DeleteWorkflow_should_create_events_and_remove_workflow.verified.txt

@ -109,8 +109,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_2,
Timestamp: DateTimeOffset_1
EventId: Guid_2
},
Payload: {
WorkflowId: Guid_3,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.RemoveContributor_should_create_events_and_remove_contributor.verified.txt

@ -109,8 +109,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_2,
Timestamp: DateTimeOffset_1
EventId: Guid_2
},
Payload: {
ContributorId: Guid_3,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.RemoveImage_should_create_events_and_update_image.verified.txt

@ -109,8 +109,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_2,
Timestamp: DateTimeOffset_1
EventId: Guid_2
},
Payload: {
AppId: Guid_1,my-app,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.RemoveLanguage_should_create_events_and_remove_language.verified.txt

@ -109,8 +109,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_2,
Timestamp: DateTimeOffset_1
EventId: Guid_2
},
Payload: {
Language: de,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.RevokeClient_should_create_events_and_remove_client.verified.txt

@ -109,8 +109,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_2,
Timestamp: DateTimeOffset_1
EventId: Guid_2
},
Payload: {
Id: client,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.Transfer_from_team_should_create_events_and_set_team.verified.txt

@ -109,8 +109,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_2,
Timestamp: DateTimeOffset_1
EventId: Guid_2
},
Payload: {
AppId: Guid_1,my-app,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.Transfer_should_create_events_and_set_team.verified.txt

@ -110,8 +110,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
TeamId: Guid_2,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.UpdateClient_should_create_events_and_update_client.verified.txt

@ -116,8 +116,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_2,
Timestamp: DateTimeOffset_1
EventId: Guid_2
},
Payload: {
Id: client,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.UpdateLanguage_should_create_events_and_update_language.verified.txt

@ -116,8 +116,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_2,
Timestamp: DateTimeOffset_1
EventId: Guid_2
},
Payload: {
Language: de,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.UpdateRole_should_create_events_and_update_role.verified.txt

@ -130,8 +130,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_2,
Timestamp: DateTimeOffset_1
EventId: Guid_2
},
Payload: {
Name: My Role,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.UpdateSettings_should_create_event_and_update_settings.verified.txt

@ -109,8 +109,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_2,
Timestamp: DateTimeOffset_1
EventId: Guid_2
},
Payload: {
Settings: {

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.UpdateWorkflow_should_create_events_and_update_workflow.verified.txt

@ -141,8 +141,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
WorkflowId: Guid_2,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.Update_should_create_events_and_update_label_and_description.verified.txt

@ -111,8 +111,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_2,
Timestamp: DateTimeOffset_1
EventId: Guid_2
},
Payload: {
Label: my-label,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AppDomainObjectTests.UploadImage_should_create_events_and_update_image.verified.txt

@ -113,8 +113,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
Image: {

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AssetDomainObjectTests.AnnotateMetadata_should_create_events_and_update_metadata.verified.txt

@ -27,8 +27,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
Metadata: {

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AssetDomainObjectTests.AnnotateName_should_create_events_and_update_file_name.verified.txt

@ -24,8 +24,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
FileName: My New Image.png,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AssetDomainObjectTests.AnnotateProtected_should_create_events_and_update_protected_flag.verified.txt

@ -24,8 +24,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
IsProtected: true,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AssetDomainObjectTests.AnnotateSlug_should_create_events_and_update_slug.verified.txt

@ -24,8 +24,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
Slug: my-new-image.png,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AssetDomainObjectTests.AnnotateTags_should_create_events_and_update_tags.verified.txt

@ -27,8 +27,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
Tags: [

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AssetDomainObjectTests.Create_should_create_events_and_set_intitial_state.verified.txt

@ -22,8 +22,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
FileName: image.png,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AssetDomainObjectTests.Delete_should_create_events_with_total_file_size_and_tags_and_update_deleted_flag.verified.txt

@ -25,8 +25,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
DeletedSize: 2048,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AssetDomainObjectTests.Move_should_create_events_and_update_parent_id.verified.txt

@ -25,8 +25,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_4,
Timestamp: DateTimeOffset_1
EventId: Guid_4
},
Payload: {
ParentId: Guid_2,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AssetDomainObjectTests.Update_should_create_events_and_update_file_state.verified.txt

@ -25,8 +25,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
MimeType: image/png,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AssetDomainObjectTests.Upsert_should_create_events_and_set_intitial_state_if_not_found.verified.txt

@ -22,8 +22,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
FileName: image.png,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AssetDomainObjectTests.Upsert_should_create_events_and_update_file_state_if_found.verified.txt

@ -25,8 +25,7 @@
{
Headers: {
AggregateId: Guid_1,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
MimeType: image/png,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AssetFolderDomainObjectTests.Create_should_create_events_and_set_intitial_state.verified.txt

@ -16,8 +16,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
FolderName: New Name,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AssetFolderDomainObjectTests.Delete_should_create_events_with_total_file_size.verified.txt

@ -18,8 +18,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
AssetFolderId: Guid_2,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AssetFolderDomainObjectTests.Move_should_create_events_and_update_state.verified.txt

@ -19,8 +19,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_4,
Timestamp: DateTimeOffset_1
EventId: Guid_4
},
Payload: {
ParentId: Guid_3,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/AssetFolderDomainObjectTests.Update_should_create_events_and_update_state.verified.txt

@ -18,8 +18,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
FolderName: New Name,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.ApplyDefaults_should_update_content.verified.txt

@ -37,8 +37,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_4,
Timestamp: DateTimeOffset_1
EventId: Guid_4
},
Payload: {
Status: Draft,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.CancelContentSchedule_create_events_and_unset_schedule.verified.txt

@ -33,8 +33,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_4,
Timestamp: DateTimeOffset_1
EventId: Guid_4
},
Payload: {
ContentId: Guid_2,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.CancelContentSchedule_should_create_events_and_unset_schedule.verified.txt

@ -33,8 +33,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_4,
Timestamp: DateTimeOffset_1
EventId: Guid_4
},
Payload: {
ContentId: Guid_2,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.ChangeStatus_create_events_and_set_schedule_if_duetime_set.verified.txt

@ -38,8 +38,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_5,
Timestamp: DateTimeOffset_1
EventId: Guid_5
},
Payload: {
Status: Published,

6
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.ChangeStatus_should_also_update_if_script_changes_data.verified.txt

@ -39,8 +39,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_4,
Timestamp: DateTimeOffset_1
EventId: Guid_4
},
Payload: {
Data: {
@ -62,8 +61,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_5,
Timestamp: DateTimeOffset_1
EventId: Guid_5
},
Payload: {
Change: Unpublished,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.ChangeStatus_should_create_events_and_delete_new_version_if_available.verified.txt

@ -33,8 +33,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_4,
Timestamp: DateTimeOffset_1
EventId: Guid_4
},
Payload: {
Change: Published,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.ChangeStatus_should_create_events_and_unset_schedule_if_failed.verified.txt

@ -33,8 +33,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_4,
Timestamp: DateTimeOffset_1
EventId: Guid_4
},
Payload: {
ContentId: Guid_2,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.ChangeStatus_should_create_events_and_update_new_version_if_draft_available.verified.txt

@ -41,8 +41,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_4,
Timestamp: DateTimeOffset_1
EventId: Guid_4
},
Payload: {
Status: Archived,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.ChangeStatus_should_create_events_and_update_status_if_changed.verified.txt

@ -33,8 +33,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_4,
Timestamp: DateTimeOffset_1
EventId: Guid_4
},
Payload: {
Status: Archived,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.ChangeStatus_should_create_events_and_update_status_if_published.verified.txt

@ -33,8 +33,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_4,
Timestamp: DateTimeOffset_1
EventId: Guid_4
},
Payload: {
Status: Archived,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.ChangeStatus_should_create_events_and_update_status_if_unpublished.verified.txt

@ -33,8 +33,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_4,
Timestamp: DateTimeOffset_1
EventId: Guid_4
},
Payload: {
Change: Unpublished,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.ChangeStatus_should_refresh_properties_and_unset_schedule_if_completed.verified.txt

@ -33,8 +33,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_4,
Timestamp: DateTimeOffset_1
EventId: Guid_4
},
Payload: {
Status: Archived,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.CreateDraft_should_create_events_and_update_new_state.verified.txt

@ -41,8 +41,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_4,
Timestamp: DateTimeOffset_1
EventId: Guid_4
},
Payload: {
Status: Draft,

6
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.Create_should_change_status_if_set.verified.txt

@ -33,8 +33,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_4,
Timestamp: DateTimeOffset_1
EventId: Guid_4
},
Payload: {
Status: Draft,
@ -53,8 +52,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_5,
Timestamp: DateTimeOffset_1
EventId: Guid_5
},
Payload: {
Status: Archived,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.Create_should_create_events_and_update_data_and_status.verified.txt

@ -31,8 +31,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_4,
Timestamp: DateTimeOffset_1
EventId: Guid_4
},
Payload: {
Status: Draft,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.Create_should_not_change_status_if_set_to_initial.verified.txt

@ -31,8 +31,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_4,
Timestamp: DateTimeOffset_1
EventId: Guid_4
},
Payload: {
Status: Draft,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.DeleteDraft_should_create_events_and_delete_new_version.verified.txt

@ -33,8 +33,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_4,
Timestamp: DateTimeOffset_1
EventId: Guid_4
},
Payload: {
ContentId: Guid_2,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.Delete_should_create_events_and_update_deleted_flag.verified.txt

@ -33,8 +33,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_4,
Timestamp: DateTimeOffset_1
EventId: Guid_4
},
Payload: {
ContentId: Guid_2,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.EnrichContentDefaults_should_update_content.verified.txt

@ -39,8 +39,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_4,
Timestamp: DateTimeOffset_1
EventId: Guid_4
},
Payload: {
Data: {

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.Patch_should_create_events_and_update_data.verified.txt

@ -39,8 +39,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_4,
Timestamp: DateTimeOffset_1
EventId: Guid_4
},
Payload: {
Data: {

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.Patch_should_create_events_and_update_new_version_if_draft_available.verified.txt

@ -47,8 +47,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_4,
Timestamp: DateTimeOffset_1
EventId: Guid_4
},
Payload: {
Data: {

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.Update_should_create_events_and_update_data.verified.txt

@ -39,8 +39,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_4,
Timestamp: DateTimeOffset_1
EventId: Guid_4
},
Payload: {
Data: {

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.Update_should_create_events_and_update_new_version_if_draft_available.verified.txt

@ -47,8 +47,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_4,
Timestamp: DateTimeOffset_1
EventId: Guid_4
},
Payload: {
Data: {

6
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.Upsert_should_change_status_on_create_if_status_set.verified.txt

@ -33,8 +33,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_4,
Timestamp: DateTimeOffset_1
EventId: Guid_4
},
Payload: {
Status: Draft,
@ -53,8 +52,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_5,
Timestamp: DateTimeOffset_1
EventId: Guid_5
},
Payload: {
Status: Archived,

6
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.Upsert_should_change_status_on_update_if_status_set.verified.txt

@ -39,8 +39,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_4,
Timestamp: DateTimeOffset_1
EventId: Guid_4
},
Payload: {
Data: {
@ -62,8 +61,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_5,
Timestamp: DateTimeOffset_1
EventId: Guid_5
},
Payload: {
Status: Archived,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.Upsert_should_create_content_if_not_found.verified.txt

@ -31,8 +31,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_4,
Timestamp: DateTimeOffset_1
EventId: Guid_4
},
Payload: {
Status: Draft,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.Upsert_should_not_change_status_on_create_if_status_set_to_initial.verified.txt

@ -31,8 +31,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_4,
Timestamp: DateTimeOffset_1
EventId: Guid_4
},
Payload: {
Status: Draft,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.Upsert_should_not_change_status_on_update_if_status_set_to_initial.verified.txt

@ -39,8 +39,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_4,
Timestamp: DateTimeOffset_1
EventId: Guid_4
},
Payload: {
Data: {

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.Upsert_should_patch_content_if_found.verified.txt

@ -39,8 +39,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_4,
Timestamp: DateTimeOffset_1
EventId: Guid_4
},
Payload: {
Data: {

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/ContentDomainObjectTests.Upsert_should_update_content_if_found.verified.txt

@ -39,8 +39,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_4,
Timestamp: DateTimeOffset_1
EventId: Guid_4
},
Payload: {
Data: {

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/RuleDomainObjectTests.Create_should_create_events_and_set_intitial_state.verified.txt

@ -22,8 +22,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
Trigger: {

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/RuleDomainObjectTests.Delete_should_create_events_and_update_deleted_flag.verified.txt

@ -24,8 +24,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
RuleId: Guid_2,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/RuleDomainObjectTests.Disable_should_create_events_and_update_enabled_flag.verified.txt

@ -24,8 +24,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
RuleId: Guid_2,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/RuleDomainObjectTests.Disable_via_update_should_create_events_and_update_enabled_flag.verified.txt

@ -24,8 +24,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
IsEnabled: false,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/RuleDomainObjectTests.Enable_should_create_events_and_update_enabled_flag.verified.txt

@ -24,8 +24,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
RuleId: Guid_2,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/RuleDomainObjectTests.Enable_via_update_should_create_events_and_update_enabled_flag.verified.txt

@ -24,8 +24,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
IsEnabled: true,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/RuleDomainObjectTests.Update_should_create_events_and_update_trigger_and_action.verified.txt

@ -25,8 +25,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
Name: NewName,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/SchemaDomainObjectTests.Add_should_create_events_and_add_field.verified.txt

@ -230,8 +230,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
Name: age,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/SchemaDomainObjectTests.Add_should_create_events_and_add_field_to_array.verified.txt

@ -1286,8 +1286,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
Name: age,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/SchemaDomainObjectTests.ChangeCategory_should_create_events_and_update_category.verified.txt

@ -25,8 +25,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
Name: my-category,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/SchemaDomainObjectTests.ConfigureFieldRules_should_create_events_and_update_schema_field_rules.verified.txt

@ -29,8 +29,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
FieldRules: [

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/SchemaDomainObjectTests.ConfigurePreviewUrls_should_create_events_and_update_preview_urls.verified.txt

@ -27,8 +27,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
PreviewUrls: {

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/SchemaDomainObjectTests.ConfigureScripts_should_create_events_and_update_schema_scripts.verified.txt

@ -26,8 +26,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
Scripts: {

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/SchemaDomainObjectTests.ConfigureUIFields_should_create_events_for_list_fields_and_update_schema.verified.txt

@ -233,8 +233,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
FieldsInLists: [

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/SchemaDomainObjectTests.ConfigureUIFields_should_create_events_for_reference_fields_and_update_schema.verified.txt

@ -233,8 +233,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
FieldsInReferences: [

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/SchemaDomainObjectTests.Create_should_create_events_and_schema_with_initial_fields.verified.txt

@ -2712,8 +2712,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
Schema: {

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/SchemaDomainObjectTests.Create_should_create_events_and_set_intitial_state.verified.txt

@ -22,8 +22,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
Schema: {

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/SchemaDomainObjectTests.DeleteField_should_create_events_and_delete_field.verified.txt

@ -25,8 +25,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
FieldId: 1,age,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/SchemaDomainObjectTests.DeleteField_should_create_events_and_delete_nested_field.verified.txt

@ -164,8 +164,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
FieldId: 2,age,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/SchemaDomainObjectTests.Delete_should_create_events_and_update_deleted_flag.verified.txt

@ -24,8 +24,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
SchemaId: Guid_2,my-schema,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/SchemaDomainObjectTests.DisableField_should_create_events_and_update_field_disabled_flag.verified.txt

@ -230,8 +230,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
FieldId: 1,age,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/SchemaDomainObjectTests.DisableField_should_create_events_and_update_nested_field_disabled_flag.verified.txt

@ -1286,8 +1286,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
FieldId: 2,age,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/SchemaDomainObjectTests.EnableField_should_create_events_and_update_field_disabled_flag.verified.txt

@ -230,8 +230,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
FieldId: 1,age,

3
backend/tests/Squidex.Domain.Apps.Entities.Tests/Verify/SchemaDomainObjectTests.EnableField_should_create_events_and_update_nested_field_disabled_flag.verified.txt

@ -1286,8 +1286,7 @@
{
Headers: {
AggregateId: Guid_1--Guid_2,
EventId: Guid_3,
Timestamp: DateTimeOffset_1
EventId: Guid_3
},
Payload: {
FieldId: 2,age,

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save