groupe-sii / ogham

Sending email, sms or whatever is a piece of cake
https://groupe-sii.github.io/ogham/
Apache License 2.0
21 stars 14 forks source link

Use Opensmpp simulator for test utils #95

Open aurelien-baudet opened 4 years ago

aurelien-baudet commented 4 years ago

Currently, JSmpp is used in test utils to ensure that SMS are received correctly. However, message decoding is done manually (JSmpp doesn't provide the algorithm to decode messages).

We should provide usage of Opensmpp simulator in tests to be sure to be compliant with SMSC servers. See https://github.com/OpenSmpp/opensmpp/blob/master/sim/src/main/java/org/smpp/smscsim/Simulator.java