Add unit tests for inc/virtual-uploads/namespace.php #15
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adds unit tests for the functions in the
inc/virtual-uploads/namespace.php
file. The lack of unit tests for this file was identified as an issue (#14) and this PR aims to address it.Summary
tests/virtual-uploads/namespaceTest.php
to contain the unit tests for the functions ininc/virtual-uploads/namespace.php
.inc/virtual-uploads/namespace.php
.inc/virtual-uploads/namespace.php
. Each test case calls the function with specific inputs and checks if the output is as expected.README.md
file to include instructions on how to run the unit tests, making it easier for other developers to contribute to the project.This PR addresses the issue by adding comprehensive unit tests for the code in
inc/virtual-uploads/namespace.php
. The unit tests will help ensure the correctness and stability of the code, making it easier to identify and fix any bugs that may arise.Fixes #14.
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: