Update dynasty-webapp/src/main/java/fr/rdla/dynasty/api/TestApi.java

Try to fix a bug according to what i learn today