File tree 2 files changed +5
-7
lines changed
2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,8 @@ <h3>WARNING: this testsuite will do a live post to your NUS</h3>
14
14
15
15
16
16
// 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 ( ) { } ;
21
19
22
20
var head = document . getElementsByTagName ( 'head' ) [ 0 ] ;
23
21
var baseURL = document . location . href ;
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ YUI().use('test', function(Y) {
45
45
} , this )
46
46
. error ( function ( response ) {
47
47
this . resume ( function ( ) {
48
- Assert . fail ( "Not 2xx response" ) ;
48
+ Y . Assert . fail ( "Not 2xx response" ) ;
49
49
} ) ;
50
50
} , this ) ;
51
51
this . wait ( LinkedIn . Test . TIMEOUT ) ;
@@ -65,7 +65,7 @@ YUI().use('test', function(Y) {
65
65
} , this )
66
66
. error ( function ( response ) {
67
67
this . resume ( function ( ) {
68
- Assert . fail ( "Not 2xx response" ) ;
68
+ Y . Assert . fail ( "Not 2xx response" ) ;
69
69
} ) ;
70
70
} , this ) ;
71
71
this . wait ( LinkedIn . Test . TIMEOUT ) ;
@@ -85,7 +85,7 @@ YUI().use('test', function(Y) {
85
85
} , this )
86
86
. error ( function ( data ) {
87
87
this . resume ( function ( ) {
88
- Assert . fail ( "Not 2xx response" ) ;
88
+ Y . Assert . fail ( "Not 2xx response" ) ;
89
89
} )
90
90
} , this ) ;
91
91
this . wait ( LinkedIn . Test . TIMEOUT ) ;
You can’t perform that action at this time.
0 commit comments