---
# System prepended metadata

title: 'Tour data service: Unit tests'

---

# Tour data service: Unit tests

## Unit tests

### Assemblers

- [x] Extended Tour Assembler
    - [x] convertEntityToDtoTestWithoutPois()
- [x] Organisation Assembler
- [x] Poi Assembler
    - [x] convertDtoToEntityTest()
    - [x] convertEntityToDtoTest()
- [x] Tour Assembler
- [x] User Assembler
    - [x] convertDtoToEntityTest()
    - [x] convertDtoWithEditorDataToEntityTest()
    - [x] convertDtoWithVisitorDataToEntityTest()
    - [x] convertEntityToDtoTest()
    - [x] convertEntityWithVisitorDataToDtoTest()
    - [x] convertEntityWithEditorDataToDtoTest()

### Repositories

- [x] Organisation Repository
- [x] PoiData Repository
- [x] Poi Repository
- [x] Tour Repository
- [x] User Repository

### Services

- [ ] Media Service (wait for own issue)
- [x] Organisation Service
- [x] Poi Service (yet to test upload)
- [x] TourPoi Service
- [x] User Service
- [x] Tour Service (vince)(yet to test upload)

### Controllers

- [ ] Media Controller (wait for own issue)
- [x] Organisation Controller
- [ ] Poi Controller
- [ ] Root Controller
- [ ] Tour Controller 
- [ ] TourPoi Controller
- [ ] User Controller
