Skip to content

Commit

Permalink
fix test setup
Browse files Browse the repository at this point in the history
  • Loading branch information
raffaeleragni committed Jul 9, 2024
1 parent 26164fd commit 6389d95
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tests/setup/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,7 @@ use std::{
};

use bevy::{
log::{Level, LogPlugin},
pbr::PbrPlugin,
prelude::*,
reflect::{DynamicTypePath, FromReflect, GetTypeRegistration, Reflect},
render::{mesh::Indices, render_asset::RenderAssetUsages, render_resource::PrimitiveTopology},
MinimalPlugins,
log::{Level, LogPlugin}, pbr::PbrPlugin, prelude::*, reflect::{DynamicTypePath, FromReflect, GetTypeRegistration, Reflect}, render::{mesh::Indices, render_asset::RenderAssetUsages, render_resource::PrimitiveTopology}, state::app::StatesPlugin, MinimalPlugins
};
use bevy_renet::renet::RenetClient;
use bevy_sync::{ClientPlugin, ServerPlugin, SyncComponent, SyncPlugin};
Expand Down Expand Up @@ -154,6 +149,7 @@ fn create_client() -> Result<App, Box<dyn Error>> {

fn add_plugins(app: &mut App) {
app.add_plugins(MinimalPlugins);
app.add_plugins(StatesPlugin);
app.add_plugins(AssetPlugin::default());
app.init_asset::<Shader>();
app.init_asset::<Mesh>();
Expand Down

0 comments on commit 6389d95

Please sign in to comment.