Skip to content

Commit 36b1c23

Browse files
committed
Merge branch 'maintenance/miscellaneous-cleanup' into develop
Made a number of minor code updates in preparation for the final deployment. This includes simplifying attribute names and catching an errant `==` where `is` is preferred.
2 parents 274bc9b + ba60f54 commit 36b1c23

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

OnTopic.Tests/TopicMappingServiceTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public TopicMappingServiceTest(TopicInfrastructureFixture<StubTopicRepository> f
8686
/// </para>
8787
/// </remarks>
8888
[Fact]
89-
public async Task Map_Bulk_EvaluateThreshold() {
89+
public async Task Map_LoadTesting_EvaluateThreshold() {
9090

9191
/*------------------------------------------------------------------------------------------------------------------------
9292
| Establish variables

OnTopic/Mapping/TopicMappingService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ private async Task<object> MapAsync(
339339
if (cache.TryGetValue(topic.Id, target.GetType(), out var cacheEntry)) {
340340
associations = cacheEntry.GetMissingAssociations(associations);
341341
target = cacheEntry.MappedTopic;
342-
if (associations == AssociationTypes.None) {
342+
if (associations is AssociationTypes.None) {
343343
return cacheEntry.MappedTopic;
344344
}
345345
cacheEntry.AddMissingAssociations(associations);

OnTopic/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@
2222
| Declare and define attributes used in the compiling of the finished assembly.
2323
\-----------------------------------------------------------------------------------------------------------------------------*/
2424
[assembly: ComVisible(false)]
25-
[assembly: InternalsVisibleTo("OnTopic.Tests")]
2625
[assembly: CLSCompliant(true)]
27-
[assembly: GuidAttribute("3CA9F6CB-B45A-4E74-AAA4-0C87CAA2704F")]
26+
[assembly: InternalsVisibleTo("OnTopic.Tests")]
27+
[assembly: Guid("3CA9F6CB-B45A-4E74-AAA4-0C87CAA2704F")]

0 commit comments

Comments
 (0)