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

Feature/content package #2

Merged
merged 16 commits into from
Mar 22, 2017
Merged

Feature/content package #2

merged 16 commits into from
Mar 22, 2017

Conversation

bogdanguranda
Copy link
Contributor

@bogdanguranda bogdanguranda commented Mar 17, 2017

  • Added content-package support.
  • Added UT and IT tests for content package.
  • Update README.md
  • Added vendoring.

@coveralls
Copy link

Coverage Status

Coverage increased (+6.9%) to 75.0% when pulling 11e46a0 on feature/content-package into ca34dce on master.

neoCRC := []neoRelatedContent{}
//neo content package contained contents
neoCPCC := []neoRelatedContent{}
Copy link

Choose a reason for hiding this comment

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

I think it would be better if the naming remain consistent in the different vars (e.g. neoCPCC vs cpcQuery vs mappedCPC.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I agree, thx

assert.Equal(t, len(expectedResponse.CuratedRelatedContents), len(actualCRC.CuratedRelatedContents), "Didn't get the same number of curated related content")
assertListContainsAll(t, actualCRC.CuratedRelatedContents, expectedResponse.CuratedRelatedContents)
}

//func TestRetrieveContainsContent(t *testing.T) {
Copy link

@Nesze Nesze Mar 20, 2017

Choose a reason for hiding this comment

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

Commenting this out... I guess it's not deliberate.

Edit: just read the task description, ignore this.

@coveralls
Copy link

Coverage Status

Coverage increased (+6.9%) to 75.0% when pulling 0b87e1c on feature/content-package into ca34dce on master.

@coveralls
Copy link

Coverage Status

Coverage increased (+6.9%) to 75.0% when pulling 3abc6f2 on feature/content-package into ca34dce on master.

@coveralls
Copy link

Coverage Status

Coverage increased (+6.9%) to 75.0% when pulling 9f1ac9e on feature/content-package into ca34dce on master.

@bogdanguranda bogdanguranda merged commit 6000878 into master Mar 22, 2017
@karsov karsov deleted the feature/content-package branch April 9, 2020 06:52
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.

None yet

5 participants