Skip to content

Commit 6ac2ba7

Browse files
committed
updating raw test case
1 parent 43d5bd7 commit 6ac2ba7

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

qatest/testsuite/index.html

+2-4
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,8 @@ <h3>WARNING: this testsuite will do a live post to your NUS</h3>
1414

1515

1616
// set up console to prevent breaking browsers that don't support console.log
17-
if (!window.console || !window.console.log) {
18-
window.console = window.console || {};
19-
window.console.log = window.console.log || function(){};
20-
}
17+
window.console = window.console || {};
18+
window.console.log = window.console.log || function (){};
2119

2220
var head = document.getElementsByTagName('head')[0];
2321
var baseURL = document.location.href;

qatest/testsuite/js/tests/raw.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ YUI().use('test', function(Y) {
4545
}, this)
4646
.error(function(response){
4747
this.resume(function(){
48-
Assert.fail("Not 2xx response");
48+
Y.Assert.fail("Not 2xx response");
4949
});
5050
}, this);
5151
this.wait(LinkedIn.Test.TIMEOUT);
@@ -65,7 +65,7 @@ YUI().use('test', function(Y) {
6565
}, this)
6666
.error(function(response){
6767
this.resume(function(){
68-
Assert.fail("Not 2xx response");
68+
Y.Assert.fail("Not 2xx response");
6969
});
7070
}, this);
7171
this.wait(LinkedIn.Test.TIMEOUT);
@@ -85,7 +85,7 @@ YUI().use('test', function(Y) {
8585
}, this)
8686
.error(function(data){
8787
this.resume(function(){
88-
Assert.fail("Not 2xx response");
88+
Y.Assert.fail("Not 2xx response");
8989
})
9090
}, this);
9191
this.wait(LinkedIn.Test.TIMEOUT);

0 commit comments

Comments
 (0)