fix(curriculum): remove inaccessible fields from anon test (#41932)

This commit is contained in:
Shaun Hamilton
2021-04-27 19:35:23 +01:00
committed by GitHub
parent 17a7a84b48
commit 315bfb07f1

View File

@ -103,8 +103,6 @@ async (getUserInput) => {
assert.isNotNull(parsed[0]._id); assert.isNotNull(parsed[0]._id);
assert.equal(new Date(parsed[0].created_on).toDateString(), date.toDateString()); assert.equal(new Date(parsed[0].created_on).toDateString(), date.toDateString());
assert.equal(parsed[0].bumped_on, parsed[0].created_on); assert.equal(parsed[0].bumped_on, parsed[0].created_on);
assert.isBoolean(parsed[0].reported);
assert.equal(parsed[0].delete_password, deletePassword);
assert.isArray(parsed[0].replies); assert.isArray(parsed[0].replies);
} catch (err) { } catch (err) {
throw new Error(err.responseText || err.message); throw new Error(err.responseText || err.message);