Skip to content
This repository has been archived by the owner on Jan 13, 2021. It is now read-only.

Requests unit testing

Compare
Choose a tag to compare
@Lenophie Lenophie released this 07 Oct 16:22
· 522 commits to master since this release

Summary

  • Added unit tests for requests
    • These tests assert that a valid request results in expected database operations
  • Wrote a better readme file along with its french translation

Complete changelog

Added

  • Readme
    • General presentation.
    • French version.
    • Link to license file.
  • Validation
    • New borrowing
      • Rules for notes field.
  • Testing
    • Unit tests for notes field rules of new borrowing request.
    • New borrowing request.
    • End borrowing request.
    • Add inventory item request.
    • Patch inventory item request.
    • Delete inventory item request.
    • Patch user request.
    • Delete user request.

Changed

  • Edit user request
    • Renamed to Patch user request in controller, tests and language files.

Removed

  • Testing
    • Useless (and incorrect) namespace for unit tests.