@@ -80,7 +80,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
8080
8181 PropertyInfo ? property = typeof ( WorkItemGroup ) . GetProperty ( nameof ( Identifiable < object > . Id ) ) ;
8282 property . ShouldNotBeNull ( ) ;
83- property . PropertyType . Should ( ) . Be ( typeof ( Guid ) ) ;
83+ property . PropertyType . Should ( ) . Be < Guid > ( ) ;
8484 }
8585
8686 [ Theory ]
@@ -134,7 +134,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
134134
135135 PropertyInfo ? property = typeof ( WorkItemGroup ) . GetProperty ( nameof ( Identifiable < object > . Id ) ) ;
136136 property . ShouldNotBeNull ( ) ;
137- property . PropertyType . Should ( ) . Be ( typeof ( Guid ) ) ;
137+ property . PropertyType . Should ( ) . Be < Guid > ( ) ;
138138 }
139139
140140 [ Theory ]
@@ -185,7 +185,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
185185
186186 PropertyInfo ? property = typeof ( RgbColor ) . GetProperty ( nameof ( Identifiable < object > . Id ) ) ;
187187 property . ShouldNotBeNull ( ) ;
188- property . PropertyType . Should ( ) . Be ( typeof ( string ) ) ;
188+ property . PropertyType . Should ( ) . Be < string > ( ) ;
189189 }
190190
191191 [ Theory ]
@@ -236,7 +236,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
236236
237237 PropertyInfo ? property = typeof ( RgbColor ) . GetProperty ( nameof ( Identifiable < object > . Id ) ) ;
238238 property . ShouldNotBeNull ( ) ;
239- property . PropertyType . Should ( ) . Be ( typeof ( string ) ) ;
239+ property . PropertyType . Should ( ) . Be < string > ( ) ;
240240 }
241241
242242 [ Theory ]
@@ -292,7 +292,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
292292
293293 PropertyInfo ? property = typeof ( RgbColor ) . GetProperty ( nameof ( Identifiable < object > . Id ) ) ;
294294 property . ShouldNotBeNull ( ) ;
295- property . PropertyType . Should ( ) . Be ( typeof ( string ) ) ;
295+ property . PropertyType . Should ( ) . Be < string > ( ) ;
296296 }
297297
298298 [ Theory ]
@@ -475,7 +475,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
475475
476476 PropertyInfo ? property = typeof ( RgbColor ) . GetProperty ( nameof ( Identifiable < object > . Id ) ) ;
477477 property . ShouldNotBeNull ( ) ;
478- property . PropertyType . Should ( ) . Be ( typeof ( string ) ) ;
478+ property . PropertyType . Should ( ) . Be < string > ( ) ;
479479 }
480480
481481 [ Theory ]
0 commit comments