Skip to content

Commit 7276795

Browse files
committed
🐛 fix: update HttpClientPlugin doctest to use MinimalPlugins
- Replace DefaultPlugins with MinimalPlugins in doctest example - Prevents CI failures in headless environments where display is not available - All 22 documentation tests now pass successfully Fixes the doctest failure that was preventing CI from completing successfully.
1 parent 488193d commit 7276795

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ impl std::error::Error for HttpClientBuilderError {}
8282
/// use bevy_http_client::prelude::*;
8383
///
8484
/// let mut app = App::new();
85-
/// app.add_plugins(DefaultPlugins)
85+
/// app.add_plugins(MinimalPlugins)
8686
/// .add_plugins(HttpClientPlugin);
8787
/// // Note: Don't call .run() in doctests as it starts the event loop
8888
/// ```

0 commit comments

Comments
 (0)