Skip to content

Commit

Permalink
Fix more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
james7132 committed Mar 8, 2024
1 parent 20e18ac commit ac92be3
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions crates/bevy_ecs/src/reflect/entity_commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -339,12 +339,6 @@ mod tests {
let mut world = World::new();

world.init_resource::<AppTypeRegistry>();
{
let mut registry = world.resource::<AppTypeRegistry>().write();
registry.register::<ComponentA>();
registry.register_type_data::<ComponentA, ReflectComponent>();
}
world.insert_resource(type_registry);

let mut system_state: SystemState<Commands> = SystemState::new(&mut world);
let mut commands = system_state.get_mut(&mut world);
Expand Down Expand Up @@ -406,12 +400,6 @@ mod tests {
let mut world = World::new();

world.init_resource::<AppTypeRegistry>();
{
let mut registry = world.resource::<AppTypeRegistry>().write();
registry.register::<ComponentA>();
registry.register_type_data::<ComponentA, ReflectComponent>();
}
world.insert_resource(type_registry);

let mut system_state: SystemState<Commands> = SystemState::new(&mut world);
let mut commands = system_state.get_mut(&mut world);
Expand Down

0 comments on commit ac92be3

Please sign in to comment.