Skip to content

Commit

Permalink
Project Update mock should set the BuildTimeout in seconds (#664)
Browse files Browse the repository at this point in the history
- Closes #663

Co-authored-by: Prashanthi Ramesh <[email protected]>
  • Loading branch information
PrashanthiRamesh and Prashanthi Ramesh authored May 1, 2024
1 parent b911b96 commit 6f5dc8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NGitLab.Mock/Clients/ProjectClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ public Models.Project Update(string id, ProjectUpdate projectUpdate)

if (projectUpdate.BuildTimeout.HasValue)
{
project.BuildTimeout = TimeSpan.FromMinutes(projectUpdate.BuildTimeout.Value);
project.BuildTimeout = TimeSpan.FromSeconds(projectUpdate.BuildTimeout.Value);
}

if (projectUpdate.LfsEnabled.HasValue)
Expand Down

0 comments on commit 6f5dc8a

Please sign in to comment.