Skip to content

App allows a volunteer with unusually long service hours to be added #4

@Runus01

Description

@Runus01

Description: The AddressBook app allows users to add volunteers with unusually long service hours, potentially recording erroneous data.

Steps to Reproduce:

  1. Open the AddressBook app.

  2. Enter a command to add a volunteer with very long service hours (eg. 100 years = 876600 hours).

    Example command:

    add r/volunteer n/Joe p/98765432 e/johnd@example.com a/311, Clementi Ave 2, #02-25 t/friends t/owesMoney h/876600
    
    

Expected Result:
The app rejects the contact information as the service hours are too long.

Actual Result:
The app accepts the contact information.

image.png

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions