tests: use decorators to disable test data generators by default

Change-Id: I7f58bc4f939a6040f0dab647f07b9c29a4a16b4e
diff --git a/tests/unit/encryptor.t.cpp b/tests/unit/encryptor.t.cpp
index 147c663..dcbf579 100644
--- a/tests/unit/encryptor.t.cpp
+++ b/tests/unit/encryptor.t.cpp
@@ -195,12 +195,10 @@
   BOOST_CHECK_EQUAL(nCk, 3);
 }
 
-BOOST_AUTO_TEST_CASE(DumpPackets) // use this to update content of other test cases
+BOOST_AUTO_TEST_CASE(GenerateTestData,
+  * ut::description("regenerates the static test data used by other test cases")
+  * ut::disabled())
 {
-  if (std::getenv("NAC_DUMP_PACKETS") == nullptr) {
-    return;
-  }
-
   const auto plaintext = "Data to encrypt"s;
 
   std::cerr << "const std::vector<Block> encryptedBlobs = {\n";