mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
tests/mdssvc: match hits:total:value to be the actual amount of entries in hits
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15342 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
d8fa5c8e2a
commit
7f5e4edf64
@ -166,7 +166,7 @@ class MdssvcTests(RpcInterfaceTestCase):
|
||||
}'''
|
||||
fake_json_response = r'''{
|
||||
"hits" : {
|
||||
"total" : {"value" : 2},
|
||||
"total" : {"value" : 9},
|
||||
"hits" : [
|
||||
{"_source" : {"path" : {"real" : "%BASEPATH%/x+x"}}},
|
||||
{"_source" : {"path" : {"real" : "%BASEPATH%/x*x"}}},
|
||||
|
Loading…
x
Reference in New Issue
Block a user