StevonStevoff / ProjectParsnip

A IoT Project for Managing At-Home Smart Farming
3 stars 0 forks source link

Grow prop tests #76

Closed sc19sjjd closed 1 year ago

sc19sjjd commented 1 year ago

Created tests for both grow properties and grow property types.

Slight change to functionality, I changed the register grow property types to require an active superuser rather than regular user. I thought this would make sense as admins create a set number of property types which can be chosen by all other users but this can easily be switched back if we decide otherwise.

Minor bug fix in grow property route where the wrong id was being used to check if the user could manage the plant profile.