Skip to content

Commit

Permalink
ON-45075 # Merge tests to avoid parrallel conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
kizaonline committed Nov 22, 2024
1 parent 550baef commit 8bd6d23
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions OneBlink.SDK.Tests/FormElementLookupsClientTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,13 @@ public void throws_error_if_keys_empty()
}

[Fact]
public async void can_search_form_element_lookups()
public async void can_crud_form_element_lookups()
{
FormElementLookupsClient formElementLookupsClient = new FormElementLookupsClient(ACCESS_KEY, SECRET_KEY, TenantName.ONEBLINK_TEST);
FormElementLookupSearchResult results = await formElementLookupsClient.Search(organisationId, null, null);
Assert.NotNull(results);
Assert.True(results.formElementLookups.Count <= 0, "Expected no form element lookups");
}

[Fact]
public async void can_crud_form_element_lookups()
{
FormElementLookup newFormElementLookup = new FormElementLookup();
newFormElementLookup.name = "Unit test environment";
newFormElementLookup.type = "DATA";
Expand All @@ -68,7 +64,6 @@ public async void can_crud_form_element_lookups()
}
};

FormElementLookupsClient formElementLookupsClient = new FormElementLookupsClient(ACCESS_KEY, SECRET_KEY, TenantName.ONEBLINK_TEST);
FormElementLookup savedFormElementLookup = await formElementLookupsClient.Create(newFormElementLookup);
Assert.NotNull(savedFormElementLookup);

Expand Down

0 comments on commit 8bd6d23

Please sign in to comment.