Skip to content

Commit

Permalink
Making SiteSTore open to allow mocking in androidTest.
Browse files Browse the repository at this point in the history
  • Loading branch information
develric committed Jun 24, 2021
1 parent 81be0ed commit 04715fa
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,11 @@ import javax.inject.Singleton

/**
* SQLite based only. There is no in memory copy of mapped data, everything is queried from the DB.
*
* NOTE: This class needs to be open because it's mocked in android tests in the WPAndroid project.
*/
@Singleton
class SiteStore
open class SiteStore
@Inject constructor(
dispatcher: Dispatcher?,
private val postSqlUtils: PostSqlUtils,
Expand Down

0 comments on commit 04715fa

Please sign in to comment.