Skip to content

Commit

Permalink
Merge pull request #40359 from jbytheway/remove_expensive_test
Browse files Browse the repository at this point in the history
Remove walk 1000 miles test
  • Loading branch information
ralreegorganon authored May 8, 2020
2 parents dba5bd1 + a71d8f0 commit 290990a
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions tests/stats_tracker_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -627,25 +627,6 @@ TEST_CASE( "achievments_tracker", "[stats]" )
}
}

SECTION( "achievement_walk_1000_miles" ) {
string_id<achievement> a_proclaimers( "achievement_walk_1000_miles" );

GIVEN( "a new game" ) {
const character_id u_id = g->u.getID();
b.send<event_type::game_start>( u_id );
CHECK( achievements_completed.empty() );

WHEN( "the avatar walks the required distance" ) {
for( int i = 0; i < 1609340; i++ ) {
b.send( walk );
}
THEN( "the achivement should be achieved" ) {
CHECK( achievements_completed.count( a_proclaimers ) > 0 );
}
}
}
}

SECTION( "achievement_traverse_sharp_terrain" ) {
string_id<achievement> a_traverse_sharp_terrain( "achievement_traverse_sharp_terrain" );

Expand Down

0 comments on commit 290990a

Please sign in to comment.