diff --git a/test/test.js b/test/test.js index 98372455..2a6bf659 100644 --- a/test/test.js +++ b/test/test.js @@ -219,7 +219,7 @@ describe('Dota2', function() { describe('#requestMatchDetails', function(){ it('should fetch data on a given match id', function(done){ Dota2.requestMatchDetails(2038049617, function(err, details){ - should.exist(details.replay_salt); + should.exist(details.match.replay_salt); done(err); }); });