Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change collection Type property from integer to enum value. #309

Merged
merged 2 commits into from
Dec 17, 2020

Conversation

rossmills99
Copy link
Collaborator

Improvement #210

@@ -95,7 +95,7 @@ public async Task PostCollectionAsync_ShouldSucceed_WhenUsingKeyOptions()
Assert.Equal("MyCollectionWithKeyOptions", response.Name);
Assert.Equal("autoincrement", response.KeyOptions.Type);
Assert.False(response.KeyOptions.AllowUserKeys);
Assert.Equal(2, response.Type); // 2 is document collection, 3 is edge collection
Assert.Equal(CollectionType.Document, response.Type); // 2 is document collection, 3 is edge collection
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the comment // 2 is document collection, 3 is edge collection?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks good spot, it's minor so might leave it to be tidied up later

@rossmills99 rossmills99 merged commit 7e37cab into ArangoDB-Community:master Dec 17, 2020
@rossmills99 rossmills99 deleted the CollectionTypeEnum branch December 17, 2020 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants