chore: abstract the modules repository (#6035)
**What** Reduce the work effort to create repositories when building new modules by abstracting the most common cases into the base class default implementation returned by a factory - [x] Migrate all modules Co-authored-by: Riqwan Thamir <5105988+riqwan@users.noreply.github.com>
This commit is contained in:
1 parent
ef5024980d
commit
b6ac768698
38 files changed
+411
-2832
No files matched your search
+1
-1
@@ -359,7 +359,7 @@ describe("Promotion Service", () => {
|
||||
])
|
||||
.catch((e) => e)
|
||||
|
||||
expect(error.message).toContain('Promotion with id "undefined" not found')
|
||||
expect(error.message).toContain('Promotion with id "" not found')
|
||||
})
|
||||
|
||||
it("should update the attributes of a promotion successfully", async () => {
|
||||
|
||||
Reference in new issue
Block a user