Merge pull request #7143 from rohitwaghchaure/customer_credit_issue

[fix] test cases for customer credit