(simulator.Data, simulator.Serializer, ContentTypeUrlPrefix, getContent));
}
}
}
diff --git a/src/Tableau.Migration/Api/Simulation/Rest/Api/ProjectsRestApiSimulator.cs b/src/Tableau.Migration/Api/Simulation/Rest/Api/ProjectsRestApiSimulator.cs
index 56f1f5d..15b8cc8 100644
--- a/src/Tableau.Migration/Api/Simulation/Rest/Api/ProjectsRestApiSimulator.cs
+++ b/src/Tableau.Migration/Api/Simulation/Rest/Api/ProjectsRestApiSimulator.cs
@@ -60,6 +60,11 @@ public sealed class ProjectsRestApiSimulator : PermissionsRestApiSimulatorBase
public MethodSimulator QueryDefaultProjectPermissions { get; }
+ ///
+ /// Gets the simulated replace project default permission API method.
+ ///
+ public MethodSimulator ReplaceDefaultProjectPermissions { get; }
+
///
/// Gets the simulated update project API method.
///
@@ -143,6 +148,10 @@ public ProjectsRestApiSimulator(TableauApiResponseSimulator simulator)
};
});
+ ReplaceDefaultProjectPermissions = simulator.SetupRestPost(
+ _defaultProjectPermissionsRegex,
+ new RestDefaultPermissionsCreateResponseBuilder(simulator.Data, simulator.Serializer));
+
UpdateProject = simulator.SetupRestPut(
SiteEntityUrl(ContentTypeUrlPrefix), UpdateProjectFromRequest);
}
diff --git a/src/Tableau.Migration/Api/Simulation/TableauData.cs b/src/Tableau.Migration/Api/Simulation/TableauData.cs
index ee0c239..311197c 100644
--- a/src/Tableau.Migration/Api/Simulation/TableauData.cs
+++ b/src/Tableau.Migration/Api/Simulation/TableauData.cs
@@ -508,9 +508,7 @@ internal void AddDataSource(
///