Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make direct export GA for QBO #91

Merged
merged 3 commits into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ jobs:
environment: CI Environment
steps:
- uses: actions/checkout@v2
- uses: satackey/[email protected]
continue-on-error: true
- name: Bring up Services and Run Tests
run: |
docker-compose -f docker-compose-pipeline.yml build
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/production_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ jobs:
environment: Production
steps:
- uses: actions/checkout@v2
- uses: satackey/[email protected]
continue-on-error: true
- name: push to dockerhub
uses: fylein/docker-release-action@master
env:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ jobs:
environment: CI Environment
steps:
- uses: actions/checkout@v2
- uses: satackey/[email protected]
continue-on-error: true
- name: Bring up Services and Run Tests
run: |
docker-compose -f docker-compose-pipeline.yml build
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/staging_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ jobs:
environment: Staging
steps:
- uses: actions/checkout@v2
- uses: satackey/[email protected]
continue-on-error: true
- name: push to dockerhub
uses: fylein/docker-release-action@master
env:
Expand Down
18 changes: 18 additions & 0 deletions apps/integrations/migrations/0003_auto_20231129_0557.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 3.1.14 on 2023-11-29 05:57

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('integrations', '0002_auto_20230829_1425'),
]

operations = [
migrations.AlterField(
model_name='integration',
name='is_beta',
field=models.BooleanField(default=True, help_text='Is Beta'),
),
]
2 changes: 1 addition & 1 deletion apps/integrations/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Integration(models.Model):
org_id = models.CharField(max_length=255, help_text='Org Id')
type = models.CharField(max_length=255, help_text='Type of Integration', choices=INTEGRATION_TYPE)
is_active = models.BooleanField(default=False, help_text='Is Integration Active')
is_beta = models.BooleanField(default=False, help_text='Is Beta')
is_beta = models.BooleanField(default=True, help_text='Is Beta')
connected_at = models.DateTimeField(auto_now_add=True, help_text='Connected at datetime')
disconnected_at = models.DateTimeField(null=True, help_text='Disconnected at datetime')
updated_at = models.DateTimeField(auto_now=True, help_text='Updated at datetime')
Expand Down
6 changes: 3 additions & 3 deletions tests/test_integrations/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def test_integrations_view_post_accounting(api_client, mocker, access_token):
assert response['tpa_name'] == post_integration_accounting['tpa_name']
assert response['type'] == post_integration_accounting['type']
assert response['is_active'] == post_integration_accounting['is_active']
assert response['is_beta'] == False
assert response['is_beta'] == True
assert response['disconnected_at'] == None


Expand Down Expand Up @@ -67,7 +67,7 @@ def test_integrations_view_post(api_client, mocker, access_token):
assert response['tpa_name'] == post_integration_accounting['tpa_name']
assert response['type'] == post_integration_accounting['type']
assert response['is_active'] == post_integration_accounting['is_active']
assert response['is_beta'] == False
assert response['is_beta'] == True
assert response['disconnected_at'] == None

response = api_client.post(url, post_integration_hrms)
Expand All @@ -80,7 +80,7 @@ def test_integrations_view_post(api_client, mocker, access_token):
assert response['tpa_name'] == post_integration_hrms['tpa_name']
assert response['type'] == post_integration_hrms['type']
assert response['is_active'] == post_integration_hrms['is_active']
assert response['is_beta'] == False
assert response['is_beta'] == True
assert response['disconnected_at'] == None


Expand Down
Loading