set book as untrusted before running test (#16677)

This commit is contained in:
Barbara Valdez
2021-08-10 15:16:02 -07:00
committed by GitHub
parent 9aa96454c9
commit b99be156ad

View File

@@ -353,7 +353,9 @@ describe('BookTrustManagerTests', function () {
should(isNotebookTrusted).be.false('Notebook not should be trusted');
});
it('should trust notebook after book has been added to a folder @UNSTABLE@', async () => {
it('should trust notebook after book has been added to a folder', async () => {
//Set book as not trusted before running test
bookTrustManager.setBookAsTrusted('/temp/SubFolder2/', false);
let notebookUri = run.book2.notebook1;
let isNotebookTrustedBeforeChange = bookTrustManager.isNotebookTrustedByDefault(notebookUri);