diff --git a/Childrens-Social-Care-CPD-Tests/Childrens-Social-Care-CPD-Tests.csproj b/Childrens-Social-Care-CPD-Tests/Childrens-Social-Care-CPD-Tests.csproj
index ac36fb2b..e030c85d 100644
--- a/Childrens-Social-Care-CPD-Tests/Childrens-Social-Care-CPD-Tests.csproj
+++ b/Childrens-Social-Care-CPD-Tests/Childrens-Social-Care-CPD-Tests.csproj
@@ -8,7 +8,6 @@
-
diff --git a/Childrens-Social-Care-CPD-Tests/Contentful/CpdContentfulClientTests.cs b/Childrens-Social-Care-CPD-Tests/Contentful/CpdContentfulClientTests.cs
index 3b7dfd82..799066d8 100644
--- a/Childrens-Social-Care-CPD-Tests/Contentful/CpdContentfulClientTests.cs
+++ b/Childrens-Social-Care-CPD-Tests/Contentful/CpdContentfulClientTests.cs
@@ -366,5 +366,25 @@ public void Calls_Base_SyncNextResult()
_contentfulClient.Received().SyncNextResult(Arg.Any(), default);
}
+ [Test]
+ public void Calls_Base_GetTag()
+ {
+ // act
+ _cpdClient.GetTag(string.Empty, default);
+
+ // assert
+ _contentfulClient.Received().GetTag(Arg.Any(), default);
+ }
+
+ [Test]
+ public void Calls_Base_GetTags()
+ {
+ // act
+ _cpdClient.GetTags(string.Empty, default);
+
+ // assert
+ _contentfulClient.Received().GetTags(Arg.Any(), default);
+ }
+
#endregion
}
diff --git a/Childrens-Social-Care-CPD/Childrens-Social-Care-CPD.csproj b/Childrens-Social-Care-CPD/Childrens-Social-Care-CPD.csproj
index b7c18664..8f98986c 100644
--- a/Childrens-Social-Care-CPD/Childrens-Social-Care-CPD.csproj
+++ b/Childrens-Social-Care-CPD/Childrens-Social-Care-CPD.csproj
@@ -13,7 +13,7 @@
-
+
diff --git a/Childrens-Social-Care-CPD/Contentful/CpdContentfulClient.cs b/Childrens-Social-Care-CPD/Contentful/CpdContentfulClient.cs
index 4808f57e..a4b045bc 100644
--- a/Childrens-Social-Care-CPD/Contentful/CpdContentfulClient.cs
+++ b/Childrens-Social-Care-CPD/Contentful/CpdContentfulClient.cs
@@ -146,6 +146,16 @@ public Task GetSpace(CancellationToken cancellationToken = default)
return _client.GetSpace(cancellationToken);
}
+ public Task GetTag(string tagId, CancellationToken cancellationToken = default)
+ {
+ return _client.GetTag(tagId, cancellationToken);
+ }
+
+ public Task> GetTags(string queryString = "", CancellationToken cancellationToken = default)
+ {
+ return _client.GetTags(queryString, cancellationToken);
+ }
+
public Task SyncInitial(SyncType syncType = SyncType.All, string contentTypeId = "", CancellationToken cancellationToken = default, int? limit = null)
{
return _client.SyncInitial(syncType, contentTypeId, cancellationToken, limit);