Author: ygrego Date: 2015-05-19 09:44:20 +0000 (Tue, 19 May 2015) New Revision: 1388 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/1388 Log: Modification of the method "afterTest" in order to reset somes values. Modified: oipf/js/test/ParentalControlManagerTest.js Modified: oipf/js/test/ParentalControlManagerTest.js =================================================================== --- oipf/js/test/ParentalControlManagerTest.js 2015-05-19 09:31:38 UTC (rev 1387) +++ oipf/js/test/ParentalControlManagerTest.js 2015-05-19 09:44:20 UTC (rev 1388) @@ -24,7 +24,9 @@ }, afterTest: function() { - + this.parentalControlManagerObject.setBlockUnrated(this.PIN, true); + this.parentalControlManagerObject._setCurrentInvalidPINAttempts && + this.parentalControlManagerObject._setCurrentInvalidPINAttempts(0); }, renderResultIfTrue: function(resolve, reject, condition) { @@ -103,7 +105,7 @@ reject(); } }, - + testGetBlockUnratedWhenUnratedContentsAreBlocked: function(resolve, reject) { this.parentalControlManagerObject.setBlockUnrated("1234", true);
participants (1)
-
ygregoï¼ users.nuiton.org