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

Remove test account type #1224

Merged
merged 2 commits into from
Jan 8, 2025
Merged

Remove test account type #1224

merged 2 commits into from
Jan 8, 2025

Conversation

rfc2822
Copy link
Member

@rfc2822 rfc2822 commented Jan 7, 2025

We can get rid of the "test" account type in order to simplify the tests.

Originally, the "test" account type was introduced because when a normal account was created during the tests, it sometimes automatically started a sync adapter. It seems that this is currently not the case. We could also explicitly set it to true now if this would make it better for the tests, because for real users the SyncFrameworkIntegration will now take care of always setting isSyncable correctly.

Reason to do this now is that I wanted to know whether I also have to create a "type" field for the accounts table in #1205. Without a separate test account type, there's no need for that.

@rfc2822 rfc2822 added the refactoring Internal improvement of existing functions label Jan 7, 2025
@rfc2822 rfc2822 force-pushed the remove-test-account-type branch from 68d8091 to d16bfd3 Compare January 7, 2025 17:32
@rfc2822 rfc2822 force-pushed the remove-test-account-type branch from d16bfd3 to be03406 Compare January 7, 2025 17:44
@rfc2822 rfc2822 requested a review from sunkup January 7, 2025 17:44
@rfc2822 rfc2822 self-assigned this Jan 7, 2025
@rfc2822 rfc2822 mentioned this pull request Jan 7, 2025
4 tasks
@rfc2822 rfc2822 marked this pull request as ready for review January 7, 2025 17:45
Copy link
Member

@sunkup sunkup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did not check all the details like unused imports, but the code looks sensible to me and the tests do pass. So I think we can merge like this :)

@rfc2822 rfc2822 merged commit ac8de37 into main-ose Jan 8, 2025
10 checks passed
@rfc2822 rfc2822 deleted the remove-test-account-type branch January 8, 2025 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Internal improvement of existing functions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants