Commit b0d7395e authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Commit DocTest record after updating.

This way the Status column won't display the red "dirty" flag.
parent 638168c8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -192,6 +192,7 @@ Ext.define('Docs.view.doctests.Index', {
    onPreviewSuccess: function(preview, obj, record, tests) {
        this.clearTestRunner();
        record.set('status', '<span class="doc-test-success">pass</span>');
        record.commit();
        tests.pass++;
        this.showResult(tests);

@@ -210,6 +211,7 @@ Ext.define('Docs.view.doctests.Index', {
        }

        record.set('message', '(exception logged to console): ' + e.toString());
        record.commit();
        tests.fail++;
        this.showResult(tests);