Corrected comment.

Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>
This commit is contained in:
Andy Butland
2020-10-08 12:04:59 +02:00
committed by GitHub
parent 9838dbaf51
commit ff65788d38

View File

@@ -76,7 +76,7 @@ namespace Umbraco.Tests.Common.Builders
if (_mediaTypeBuilder is null && _mediaType is null)
{
throw new InvalidOperationException("A media item cannot be constructed without providing a member type. Use AddMediaType() or WithMediaType().");
throw new InvalidOperationException("A media item cannot be constructed without providing a media type. Use AddMediaType() or WithMediaType().");
}
var mediaType = _mediaType ?? _mediaTypeBuilder.Build();