Closed jmleroux closed 6 years ago
Travis build failing for an unknown reason. Could you relaunch ?
Same random error on Travis
@aponsin CI tests fail "randomly" because the sandbox is not resettable...
@jmleroux The reason why we didn't implement this api method in the first place is that it's client specific (refer the client/*
prefix in the uri) while the other calls of this part are public.
Maybe it should be moved to a generic class containing this kind of api calls, wdyt?
Not sure what you mean @cdaguerre regarding the "the sandbox is not resettable" ?
@aponsin In order not to bloat the sandbow, we have to hardcode project ids in our functional test suites for instance. Refer https://github.com/worldia/textmaster-api/blob/master/test/Textmaster/Functional/Api/ProjectTest.php#L23 And since we have can have different runners executing our tests at the same time, they sometimes fail although they shouldn't... because of unlucky timing. If we had the ability to reset the entire sandbox, remove all previously created projects and so on, we could avoid hardcoding of project ids....
ok, sure, let me know for which account you want to delete the projects and I can do that. But it sounds dangerous to rely on our sandbox for your test suit no ? We might reset it entirely (user accounts as well) at a future time or for an upgrade and so on.
@jmleroux Pausing to wait for project launch is not a bad idea. We'll implement something like that do get around these annoying failing builds
The documentation for this endpoint is now online: https://fr.textmaster.com/documentation#abilities-list-abilities
I'm closing this PR as we will not need it anymore
There is actually no documentation for this endpoint, but i need it to be able to propose only available locales.