tests: tests for dart repositories
This commit is contained in:
@@ -35,4 +35,9 @@ class ProjectRepositoryImpl implements ProjectRepository {
|
||||
TaskEither<IError, List<Project>> findAll() {
|
||||
return database.projects.findAll();
|
||||
}
|
||||
|
||||
@override
|
||||
TaskEither<IError, List<Project>> findByUserId(String userId) {
|
||||
return database.projects.findByUserId(userId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user