Aug 29, 2017 · 1 min read
Check the tests here and make sure you’re using the InstantTaskExecutorRule for your test.
The allowMainThreadQueries is only used to be able to perform database inserts on the main thread, in tests.
Check the tests here and make sure you’re using the InstantTaskExecutorRule for your test.
The allowMainThreadQueries is only used to be able to perform database inserts on the main thread, in tests.