Skip to content

Commit

Permalink
test mongo 6 (#2493)
Browse files Browse the repository at this point in the history
* test using mongo 6
  • Loading branch information
petrjasek committed Nov 23, 2023
1 parent 8ce8c9b commit cdff311
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ services:
- superdesk-core

mongo:
image: mongo:4.4
image: mongo:6
ports:
- "27017:27017"
tmpfs:
Expand Down
2 changes: 1 addition & 1 deletion features/user.feature
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ Feature: User Resource
[{"username": "foo", "email": "[email protected]", "is_active": true}]
"""

When we get "users/?where={"$or":[{"username":{"$regex":"fo","$options":"-i"}}]}"
When we get "users/?where={"$or":[{"username":{"$regex":"fo","$options":"i"}}]}"
Then we get list with 1 items

@auth
Expand Down

0 comments on commit cdff311

Please sign in to comment.