fix(git): Lösch-Fehlertexte für G04/G05 und übrige Codes, operation im DB-Test (Review PR #24)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b59a5627e0
commit
c912dbad7c
2 files changed
+11
-1
No files matched your search
@@ -210,7 +210,7 @@ for (const { driver, url } of backends) {
|
||||
const { editId } = created.body;
|
||||
remote.commitFile(dir, 'main', 'brews/del.md', 'extern');
|
||||
const conflict = await api('get', `/api/remove/${editId}`);
|
||||
expect([conflict.status, conflict.body.HBErrorCode]).toEqual([409, 'G01']);
|
||||
expect([conflict.status, conflict.body.HBErrorCode, conflict.body.operation]).toEqual([409, 'G01', 'delete']);
|
||||
expect(await loadBrew(editId)).not.toBeNull();
|
||||
expect(remote.readFile(dir, 'main', 'brews/del.md')).toBe('extern');
|
||||
|
||||
|
||||
Reference in new issue
Block a user