diff --git a/src/Arcus.Testing.Storage.Table/TemporaryTableEntity.cs b/src/Arcus.Testing.Storage.Table/TemporaryTableEntity.cs
index c8dddc10..42aa2694 100644
--- a/src/Arcus.Testing.Storage.Table/TemporaryTableEntity.cs
+++ b/src/Arcus.Testing.Storage.Table/TemporaryTableEntity.cs
@@ -53,7 +53,7 @@ private TemporaryTableEntity(
/// Thrown when the or the is blank.
/// Thrown when the is null.
#pragma warning disable S1133 // Will be removed in v3.0.
- [Obsolete("Will be removed in v3.0, please use the " + nameof(UpsertEntityAsync) + " instead which provides exactly the same functionality", DiagnosticId = "ARCUS")]
+ [Obsolete("Will be removed in v3.0, please use the " + nameof(UpsertEntityAsync) + " instead which provides exactly the same functionality", DiagnosticId = ObsoleteDefaults.DiagnosticId)]
#pragma warning restore S1133
public static Task AddIfNotExistsAsync(
string accountName,
@@ -74,7 +74,7 @@ public static Task AddIfNotExistsAsync(
/// The logger instance to write diagnostic information during the lifetime of the test fixture.
/// Thrown when the or the is null.
#pragma warning disable S1133 // Will be removed in v3.0.
- [Obsolete("Will be removed in v3.0, please use the " + nameof(UpsertEntityAsync) + " instead which provides exactly the same functionality", DiagnosticId = "ARCUS")]
+ [Obsolete("Will be removed in v3.0, please use the " + nameof(UpsertEntityAsync) + " instead which provides exactly the same functionality", DiagnosticId = ObsoleteDefaults.DiagnosticId)]
#pragma warning restore S1133
public static Task AddIfNotExistsAsync(TableClient client, TEntity entity, ILogger logger) where TEntity : class, ITableEntity
{