Hello,
I made some refactoring and cleanup in the Ares class. Also I fixed failing test (due to non-existent VAT ID in tested subject) and refactored all test cases for findByIdentificationNumber to single test cases that is parametrized via dataprovider function.
Also I've allowed findByIdentificationNumber to accept identification number either in string format or integer format instead of just integer format (since company identification number can start with leading zeros)
Hello, I made some refactoring and cleanup in the
Ares
class. Also I fixed failing test (due to non-existent VAT ID in tested subject) and refactored all test cases forfindByIdentificationNumber
to single test cases that is parametrized via dataprovider function.Also I've allowed
findByIdentificationNumber
to accept identification number either in string format or integer format instead of just integer format (since company identification number can start with leading zeros)