From 18e6c0445034baa0f55d8386757a0e5deb4e8787 Mon Sep 17 00:00:00 2001 From: Abdullah Shafqat Date: Thu, 14 May 2026 16:28:32 +0300 Subject: [PATCH] fix: correct user info test status and document environment usage --- User/User Info.bru | 2 +- readme.md | 12 +++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/User/User Info.bru b/User/User Info.bru index c2456dd..e62d7d7 100644 --- a/User/User Info.bru +++ b/User/User Info.bru @@ -11,6 +11,6 @@ get { tests { test("status must be 200", function() { - expect(res.status).to.eql(201); + expect(res.status).to.eql(200); }); } diff --git a/readme.md b/readme.md index 1179dbc..f1a9e22 100644 --- a/readme.md +++ b/readme.md @@ -2,9 +2,15 @@ ### Usage ```bash -# Clone this repo +# Clone this repo git clone https://github.com/usebruno/github-rest-api-collection.git -# open the folder in bruno +# open the folder in bruno and select the "Github" environment # enjoy !! -``` \ No newline at end of file +``` + +### Run via CLI +Specify the environment with the `--env` flag: +```bash +bru run --env Github +```