mirror of
https://github.com/strapi/strapi.git
synced 2025-11-12 16:22:10 +00:00
fix unit test
This commit is contained in:
parent
53d2a3d17d
commit
b78af34ebf
@ -68,7 +68,7 @@ describe('metrics', () => {
|
|||||||
expect(
|
expect(
|
||||||
raw
|
raw
|
||||||
).toHaveBeenCalledWith(
|
).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',
|
'path',
|
||||||
'0',
|
'0',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user