@@ -922,7 +922,7 @@ test('#fetch handles 204 (Success, no content) response status w/o calling deser
922
922
sandbox . stub ( adapter , 'fetchUrl' , function ( ) { } ) ;
923
923
mockFetchJax ( sandbox , adapter , '' ) ;
924
924
sandbox . stub ( adapter , 'cacheResource' , function ( ) { } ) ;
925
- adapter . serializer = { deserialize : sandbox . spy ( ) , deserializeIncluded : Ember . K } ;
925
+ adapter . serializer = { deserialize : sandbox . spy ( ) , deserializeIncluded ( ) { } } ;
926
926
let promise = adapter . fetch ( '/posts' , { method : 'PATCH' , body : '{"data": null}' } ) ;
927
927
928
928
assert . ok ( typeof promise . then === 'function' , 'returns a thenable' ) ;
@@ -940,7 +940,7 @@ test('#fetch handles 200 (Success) response status', function(assert) {
940
940
const adapter = this . subject ( { type : 'posts' , url : '/posts' } ) ;
941
941
mockFetchJax ( sandbox , adapter , postMock ) ;
942
942
sandbox . stub ( adapter , 'cacheResource' , function ( ) { } ) ;
943
- adapter . serializer = { deserialize : sandbox . spy ( ) , deserializeIncluded : Ember . K } ;
943
+ adapter . serializer = { deserialize : sandbox . spy ( ) , deserializeIncluded ( ) { } } ;
944
944
let promise = adapter . fetch ( '/posts/1' , { method : 'GET' } ) ;
945
945
946
946
assert . ok ( typeof promise . then === 'function' , 'returns a thenable' ) ;
0 commit comments