Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0aaf1996 authored by Ömer Faruk Yılmaz's avatar Ömer Faruk Yılmaz
Browse files

Fix DatabaseMigrations in DatabaseManagerTest

This CL is a little overloaded but does the following:
1. Migration Assert to Truth: Assert.assertThat
2. In every test, for every new column that gets added, it must be added to the `ContentValues device;` for the next version with its default value before `db.insert`
3. Add missing migration of 110->111
4. Fix a few Blog / Int expectations
5. Introduce `assertColumnStringData` for reading and checking string data

Bug: 394969379
Test: atest DatabaseManagerTest
Flag: TEST_ONLY
Change-Id: Ia23ccf1928a63de8ba2906711a45ddb6ffead65d
parent 949d1846
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment