From ade2ece688a41a61c458c842140fcc979740c63d Mon Sep 17 00:00:00 2001 From: John Dorlus Date: Thu, 30 Apr 2020 11:07:50 -0400 Subject: [PATCH] Fixed assertion for equality that's not strict. --- .../api_integration/apis/management/index_management/indices.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/test/api_integration/apis/management/index_management/indices.js b/x-pack/test/api_integration/apis/management/index_management/indices.js index f2392e925b4f1..e421d3dc9ae6a 100644 --- a/x-pack/test/api_integration/apis/management/index_management/indices.js +++ b/x-pack/test/api_integration/apis/management/index_management/indices.js @@ -200,7 +200,7 @@ export default function({ getService }) { ]; const sortedExpectedKeys = expectedKeys.sort(); const sortedReceivedKeys = Object.keys(body[0]).sort(); - expect(sortedReceivedKeys).to.equal(sortedExpectedKeys); + expect(sortedReceivedKeys).to.eql(sortedExpectedKeys); }); });