From 4bc615e53a548f4e7bbb5caa74e01cafe9344b02 Mon Sep 17 00:00:00 2001 From: Valiant Date: Thu, 14 May 2020 11:32:53 +0400 Subject: [PATCH] Fix reading test --- tests/reading_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/reading_test.cpp b/tests/reading_test.cpp index e65beaea1f82e..e13bb96ad78f3 100644 --- a/tests/reading_test.cpp +++ b/tests/reading_test.cpp @@ -305,10 +305,10 @@ TEST_CASE( "reasons for not being able to read", "[reading][reasons]" ) } THEN( "you cannot read without enough skill to understand the book" ) { - dummy.set_skill_level( skill_id( "cooking" ), 7 ); + dummy.set_skill_level( skill_id( "chemistry" ), 5 ); CHECK( dummy.get_book_reader( alpha, reasons ) == nullptr ); - expect_reasons = { "cooking 8 needed to understand. You have 7" }; + expect_reasons = { "chemistry 6 needed to understand. You have 5" }; CHECK( reasons == expect_reasons ); }