mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 02:44:55 +00:00
fix unit test
This commit is contained in:
parent
53d2a3d17d
commit
b78af34ebf
@ -68,7 +68,7 @@ describe('metrics', () => {
|
||||
expect(
|
||||
raw
|
||||
).toHaveBeenCalledWith(
|
||||
'LENGTH(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(??, ?, ?), ?, ?), ?, ?), ?, ?), ?, ?), ?, ?), ?, ?), ?, ?), ?, ?), ?, ?)) as depth, count(*) as occurence',
|
||||
'LENGTH(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(??, ?, ?), ?, ?), ?, ?), ?, ?), ?, ?), ?, ?), ?, ?), ?, ?), ?, ?), ?, ?)) AS depth, COUNT(*) AS occurence',
|
||||
[
|
||||
'path',
|
||||
'0',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user