| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Functionality should work as-is. The unit-tests need to be amended and then this can be merged. |
Sorry, something went wrong.
- Only directories should return content, for a file an empty array should be returned.
- Adds specific check for directories - Removes guessing by extension as this gives a different result from regular filesystem behaviour
- The original logic did not properly display all directory content for non-recursive cases when a path was provided.
- Visibility is now assumed to be visible by default - Bug in permission comparison is fixed
- Timestamps for files are retrieved from the github api - Timestamps for directories are calculated from retrieved files
- Uses shorter alias for MockObject instead of FQN - Adds trailing comma to entries in data provider - Removes test that is no longer relevant
…I class - Data for metadata is always retrieved recursively. - Marks Api::getCreatedTimestamp() as being used by Api::getRecursiveMetadata()
- Changed mock data to match changed normalisation format from Api class - Changed mock data to match the fact that metadata is always retrieved recursively - Adds Api::getCreatedTimestamp() as being used by Api::getRecursiveMetadata() - Adds mock for Commits Repository
…erface::getTreeMetadata().
|
Existing unit-tests have been fixed. Code-coverage for newly added functionality needs to be added. |
Sorry, something went wrong.
…ntents() - Adds keys to provided data for easy idintifiaction in case of failure - Adds JSON file as fixture
|
Tests covering directory functionality have been added. Ready to merge. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
The return values of metadata for directories is incorrect as mentioned in issue #6.
This pull request resolves that issue.