@@ -80,7 +80,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
80
80
81
81
PropertyInfo ? property = typeof ( WorkItemGroup ) . GetProperty ( nameof ( Identifiable < object > . Id ) ) ;
82
82
property . ShouldNotBeNull ( ) ;
83
- property . PropertyType . Should ( ) . Be ( typeof ( Guid ) ) ;
83
+ property . PropertyType . Should ( ) . Be < Guid > ( ) ;
84
84
}
85
85
86
86
[ Theory ]
@@ -134,7 +134,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
134
134
135
135
PropertyInfo ? property = typeof ( WorkItemGroup ) . GetProperty ( nameof ( Identifiable < object > . Id ) ) ;
136
136
property . ShouldNotBeNull ( ) ;
137
- property . PropertyType . Should ( ) . Be ( typeof ( Guid ) ) ;
137
+ property . PropertyType . Should ( ) . Be < Guid > ( ) ;
138
138
}
139
139
140
140
[ Theory ]
@@ -185,7 +185,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
185
185
186
186
PropertyInfo ? property = typeof ( RgbColor ) . GetProperty ( nameof ( Identifiable < object > . Id ) ) ;
187
187
property . ShouldNotBeNull ( ) ;
188
- property . PropertyType . Should ( ) . Be ( typeof ( string ) ) ;
188
+ property . PropertyType . Should ( ) . Be < string > ( ) ;
189
189
}
190
190
191
191
[ Theory ]
@@ -236,7 +236,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
236
236
237
237
PropertyInfo ? property = typeof ( RgbColor ) . GetProperty ( nameof ( Identifiable < object > . Id ) ) ;
238
238
property . ShouldNotBeNull ( ) ;
239
- property . PropertyType . Should ( ) . Be ( typeof ( string ) ) ;
239
+ property . PropertyType . Should ( ) . Be < string > ( ) ;
240
240
}
241
241
242
242
[ Theory ]
@@ -292,7 +292,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
292
292
293
293
PropertyInfo ? property = typeof ( RgbColor ) . GetProperty ( nameof ( Identifiable < object > . Id ) ) ;
294
294
property . ShouldNotBeNull ( ) ;
295
- property . PropertyType . Should ( ) . Be ( typeof ( string ) ) ;
295
+ property . PropertyType . Should ( ) . Be < string > ( ) ;
296
296
}
297
297
298
298
[ Theory ]
@@ -475,7 +475,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
475
475
476
476
PropertyInfo ? property = typeof ( RgbColor ) . GetProperty ( nameof ( Identifiable < object > . Id ) ) ;
477
477
property . ShouldNotBeNull ( ) ;
478
- property . PropertyType . Should ( ) . Be ( typeof ( string ) ) ;
478
+ property . PropertyType . Should ( ) . Be < string > ( ) ;
479
479
}
480
480
481
481
[ Theory ]
0 commit comments