Fix GenericAccount::to_email_identifier not actually working

The GVariant type "*" only matches a single data type, not many, and
the sense of the test to check serialised ids was wrong anyway. As a
reuslt, this method probably never worked. Add a unit test.
This commit is contained in:
Michael Gratton 2019-10-30 14:12:52 +11:00
parent 543c753186
commit bf4f5c4780
5 changed files with 106 additions and 6 deletions

View file

@ -47,6 +47,7 @@ geary_test_engine_sources = [
'engine/imap-db/imap-db-email-identifier-test.vala',
'engine/imap-db/imap-db-folder-test.vala',
'engine/imap-engine/account-processor-test.vala',
'engine/imap-engine/imap-engine-generic-account-test.vala',
'engine/mime-content-type-test.vala',
'engine/outbox/outbox-email-identifier-test.vala',
'engine/rfc822-mailbox-address-test.vala',