Fix tests
This commit is contained in:
parent
1852e9f4fb
commit
3ab2db4133
@ -201,7 +201,7 @@ describe('tests for "closet" module', () => {
|
||||
}));
|
||||
expect(fetch).toBeCalledWith({
|
||||
type: 'POST',
|
||||
url: 'closet/rename',
|
||||
url: 'user/closet/rename',
|
||||
dataType: 'json',
|
||||
data: { tid: 1, new_name: 'name' }
|
||||
});
|
||||
@ -247,7 +247,7 @@ describe('tests for "closet" module', () => {
|
||||
});
|
||||
expect(fetch).toBeCalledWith({
|
||||
type: 'POST',
|
||||
url: 'closet/remove',
|
||||
url: 'user/closet/remove',
|
||||
dataType: 'json',
|
||||
data: { tid: 1 }
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user