diff --git a/test/snapshot/snapshot.cpp b/test/snapshot/snapshot.cpp index 6c30ce3c0..1eb46e0aa 100644 --- a/test/snapshot/snapshot.cpp +++ b/test/snapshot/snapshot.cpp @@ -65,20 +65,20 @@ TEST(Snapshot, Full) { // output finishes flushing its contents when it goes out of scope cereal::JSONOutputArchive output{storage}; entt::snapshot{source} - .entities(output) - .component(output) - .component(output) - .component(output) - .component>(output); + .get(output) + .get(output) + .get(output) + .get(output) + .get>(output); } cereal::JSONInputArchive input{storage}; entt::snapshot_loader{destination} - .entities(input) - .component(input) - .component(input) - .component(input) - .component>(input); + .get(input) + .get(input) + .get(input) + .get(input) + .get>(input); ASSERT_TRUE(destination.valid(e0)); ASSERT_TRUE(destination.all_of(e0)); @@ -140,20 +140,20 @@ TEST(Snapshot, Continuous) { // output finishes flushing its contents when it goes out of scope cereal::JSONOutputArchive output{storage}; entt::snapshot{source} - .entities(output) - .component(output) - .component(output) - .component(output) - .component>(output); + .get(output) + .get(output) + .get(output) + .get(output) + .get>(output); } cereal::JSONInputArchive input{storage}; entt::continuous_loader loader{destination}; loader.entities(input) - .component(input) - .component(input, &relationship::parent) - .component(input) - .component>(input); + .get(input) + .get(input) + .get(input) + .get>(input); ASSERT_FALSE(destination.valid(e0)); ASSERT_TRUE(loader.contains(e0));