changeset 2933:95f507064bf2

Harder check for second key test #228
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Mon, 11 Sep 2017 17:22:23 +0100
parents 3bfc80d2ead0
children 260efd43fe52
files php/test.html
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/php/test.html	Mon Sep 11 17:19:42 2017 +0100
+++ b/php/test.html	Mon Sep 11 17:22:23 2017 +0100
@@ -62,6 +62,7 @@
                     var doc = xhr.response;
                     var state = doc.querySelector("state").textContent;
                     var key = doc.querySelector("key").textContent;
+                    expect(state).to.equal("OK");
                     expect(key).not.to.equal(key1);
                     done();
                 }