mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
chore: impl empty results for fake project read model (#7912)
Implements empty responses for the fake project read model. Instead of throwing a not implemented error, we'll return empty results. This makes some of the tests in enterprise pass.
This commit is contained in:
parent
35196b53c1
commit
7008070fc1
@ -6,9 +6,9 @@ import type {
|
||||
|
||||
export class FakeProjectReadModel implements IProjectReadModel {
|
||||
getProjectsForAdminUi(): Promise<ProjectForUi[]> {
|
||||
throw new Error('Method not implemented.');
|
||||
return Promise.resolve([]);
|
||||
}
|
||||
getProjectsForInsights(): Promise<ProjectForInsights[]> {
|
||||
throw new Error('Method not implemented.');
|
||||
return Promise.resolve([]);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user