Skip to content

Commit f858c72

Browse files
committed
fix: for actuall prod stack
1 parent 3ffc5b5 commit f858c72

2 files changed

Lines changed: 4 additions & 22 deletions

File tree

Contentstack.Core.Tests/Helpers/TestDataHelper.cs

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -130,24 +130,6 @@ static TestDataHelper()
130130
public static string TaxIndiaState =>
131131
GetRequiredConfig("TAX_INDIA_STATE");
132132

133-
/// <summary>
134-
/// API key for the taxonomy-publish test stack (gadgets).
135-
/// </summary>
136-
public static string TaxPublishApiKey =>
137-
GetRequiredConfig("TAX_PUBLISH_API_KEY");
138-
139-
/// <summary>
140-
/// Delivery token for the taxonomy-publish test stack.
141-
/// </summary>
142-
public static string TaxPublishDeliveryToken =>
143-
GetRequiredConfig("TAX_PUBLISH_DELIVERY_TOKEN");
144-
145-
/// <summary>
146-
/// Environment for the taxonomy-publish test stack.
147-
/// </summary>
148-
public static string TaxPublishEnvironment =>
149-
GetRequiredConfig("TAX_PUBLISH_ENVIRONMENT");
150-
151133
/// <summary>
152134
/// UID of the published taxonomy to use in localization tests (e.g. "gadgets").
153135
/// </summary>

Contentstack.Core.Tests/Integration/Taxonomy/TaxonomyLocalisationTest.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ public class TaxonomyLocalisationTest : IntegrationTestBase
2323
public TaxonomyLocalisationTest(ITestOutputHelper output) : base(output) { }
2424

2525
/// <summary>
26-
/// Creates a client scoped to the gadgets taxonomy-publish test stack.
26+
/// Creates a client scoped to the main test stack, which also carries the
2727
/// Uses the default CDN host (no custom host override needed).
2828
/// </summary>
2929
private ContentstackClient CreateGadgetsClient()
3030
{
3131
var options = new ContentstackOptions
3232
{
33-
ApiKey = TestDataHelper.TaxPublishApiKey,
34-
DeliveryToken = TestDataHelper.TaxPublishDeliveryToken,
35-
Environment = TestDataHelper.TaxPublishEnvironment
33+
ApiKey = TestDataHelper.ApiKey,
34+
DeliveryToken = TestDataHelper.DeliveryToken,
35+
Environment = TestDataHelper.Environment
3636
};
3737
var client = new ContentstackClient(options);
3838
client.Plugins.Add(new RequestLoggingPlugin(TestOutput));

0 commit comments

Comments
 (0)