Issue:
[FEATURE] add tests for stripe connector

### Feature Description

As part of adding unit tests to existing connectors we are adding test for stripe

### Possible Implementation

add a test file for stripe connector in the crates/router/tests folder

### Have you spent some time to check if this feature request has been raised before?

- [X] I checked and didn't find similar issue

### Have you read the Contributing Guidelines?

- [X] I have read the [Contributing Guidelines](https://github.com/juspay/hyperswitch/blob/main/docs/CONTRIBUTING.md)

### Are you willing to submit a PR?

None

Resolution:
<think>
PR Context:
- Title: test(stripe): add unit tests for stripe connector
- Merged: 2023-01-30T09:59:28Z
- Files changed: 4 files
- Commits: 8 commits

Implementation approach:
## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [ ] Bugfix
- [X] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates

## Description
<!-- Describe your changes in detail -->
This PR adds tests for stripe connector.

### Additional Changes

- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables

<!-- 
Provide links to the files with corresponding changes.

Following are the paths 
</think>

To implement this, you'll need to modify:


**Detailed Implementation:**


**Commit 1:** test(stripe): add unit tests for stripe connector (#473)
Files to modify:


**crates/router/tests/connectors/connector_auth.rs**
  Modify existing code

**crates/router/tests/connectors/main.rs**
  Add:
    - mod: private::stripe

**crates/router/tests/connectors/stripe.rs**
  Add:
    - function: private::get_data
    - function: private::get_auth_token
    - function: private::get_name
    - function: private::get_payment_authorize_data
    - function: private::should_only_authorize_payment
    - function: private::should_authorize_and_capture_payment
    - function: private::should_capture_already_authorized_payment
    - function: private::should_partially_capture_already_authorized_payment
    - function: private::should_sync_payment
    - function: private::should_void_already_authorized_payment
    - function: private::should_fail_payment_for_incorrect_card_number
    - function: private::should_fail_payment_for_no_card_number
    - function: private::should_fail_payment_for_invalid_exp_month
    - function: private::should_fail_payment_for_invalid_exp_year
    - function: private::should_fail_payment_for_invalid_card_cvc
    - function: private::should_fail_capture_for_invalid_payment
    - function: private::should_refund_succeeded_payment
    - function: private::should_partially_refund_succeeded_payment
    - function: private::should_refund_succeeded_payment_multiple_times
    - function: private::should_fail_refund_for_invalid_amount
    - function: private::should_sync_refund
    - struct: private::Stripe
    - impl: impl ConnectorActions for Stripe
    - impl: impl utils::Connector for Stripe

**crates/router/tests/connectors/utils.rs**
  Add:
    - function: private::get_request_interval
    - function: private::authorize_and_capture_payment
    - function: private::authorize_and_void_payment
    - function: private::make_payment_and_refund
    - function: private::make_payment_and_multiple_refund
    - function: private::rsync_retry_till_status_matches
    - function: private::default
    - function: private::default
    - struct: pub::PaymentCaptureType
    - struct: pub::PaymentCancelType
    - impl: impl Default for PaymentCaptureType
    - impl: impl Default for PaymentCancelType