Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Shore up integration Tests. Resolve minor issue w/ Discover and add m…
…ore options. (#48) * Resolves #38 * Update code formatting from PR #37 / Issue #36 * Url Encode the API requests. Should have done this forever ago. Resolves #39 * Update Lucasfilm integration tests to use revised API values. * Resolves #40 * Also fixed error for AssemblyInit class decorated with a [TestClass] attribute, but declared as an internal class. Apparently only public classes are supposed to be decorated with the TestClassAttribute. Who knew 🤷♀️ * Cleaning up ApiRequestBase * use updated syntax for using statements * refactor Func into a local method * add error message when response uri is null * Update integration tests to use file scoped namespaces / global usings. * Battle of Lucasfile continues; guess it's back to Ltd. * Update MovieApi project to use file scoped namespaces / global usings. * Add assert structure for known types in AssertCanPageSearchResponse. * Simplify condition for AssertCanPageSearchResponse. * Simplify AssertCanPageSearchResponse w/ more straight forward page num. * Consistent formatting. * Add can page test for recommendations. * Use the util for paging test with get similar (already does the same) * Set the known page size as a constant. * Increase the tolerance for duplicate results in a search query test. * Clean up/simplify some of the tests validating type/interfaces. * Remove discovery builder interface; improve discovery; add more methods. Remove discovery builder interface; improve discovery; add more methods. * No need for the IDiscoverMovieParameterBuilder - should be a concrete type as no other implementations should be allowed in the api. * fix discovery parameter for original language (was wrong name) * add a few more discovery builder options * shore up the discovery tests w/ more data/tests.
- Loading branch information