# Test Engineer - Assigment
#### Rest services build: http://ec2-3-65-182-233.eu-central-1.compute.amazonaws.com/api
#### Documentation: https://app.swaggerhub.com/apis/dkijania/vitup-mock/0.1
### Task Description:
Please create test project in your favourite ide and programming language. Add 3 tests for rest service available here: http://ec2-3-65-182-233.eu-central-1.compute.amazonaws.com/api
###### Token to access service functionality: Oy3hfPoH45ze7Q
##### Example:
`curl --location --request GET 'http://ec2-3-65-182-233.eu-central-1.compute.amazonaws.com/api/health' --header 'API-Token: Oy3hfPoH45ze7Q'`
##### Roles:
* **Admin** - superuser which has access to admin system via token
* **User** - client which can only query publicly opened endpoints (the ones without need of token)
##### Steps
**I** Wrong Token Test
Admin provides incorrect token while trying to get logs from environment
**II** Admin updates fund id field
Steps:
1. User can see some fund id in 'api/v0/fund' endpoint
2. Admin updates fund id it to different value
3. User can now see new fund id in 'api/v0/fund' endpoint
**III** Admin clears log
1. Make sure that there is at least one log entry in logs endpoint (you can generate logs entry by querrying v0/fund or v0/challenges)
2. Admin clears log
3. Admin validates logs are cleared