Skip to content

Commit

Permalink
chore: uses example.com instead
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro committed Nov 5, 2023
1 parent c580614 commit 069d989
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions tests/Expectations/FailedRequests.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
use function Pest\Stressless\stress;

it('may pass', function (): void {
$result = stress('nunomaduro.com')
$result = stress('example.com')
->with(2)->concurrentRequests()
->for(1)->second();

expect($result->failedRequests())->toBe(0);
});

it('may fail', function (): void {
$result = stress('dummy-nunomaduro.com')
$result = stress('dummy-example.com')
->with(2)->concurrentRequests()
->for(1)->second();

Expand Down
4 changes: 2 additions & 2 deletions tests/Expectations/FailureRate.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
use function Pest\Stressless\stress;

it('may pass', function (): void {
$result = stress('nunomaduro.com')
$result = stress('example.com')
->with(2)->concurrentRequests()
->for(1)->second();

expect($result->failureRate())->toBe(0.0);
});

it('may fail', function (): void {
$result = stress('dummy-nunomaduro.com')
$result = stress('dummy-example.com')
->with(2)->concurrentRequests()
->for(1)->second();

Expand Down
4 changes: 2 additions & 2 deletions tests/Expectations/Requests.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
use function Pest\Stressless\stress;

it('may pass', function (): void {
$result = stress('nunomaduro.com')
$result = stress('example.com')
->with(2)->concurrentRequests()
->for(1)->second();

expect($result->requests())->toBeGreaterThan(2);
});

it('may fail', function (): void {
$result = stress('dummy-nunomaduro.com')
$result = stress('dummy-example.com')
->with(2)->concurrentRequests()
->for(1)->second();

Expand Down
4 changes: 2 additions & 2 deletions tests/Expectations/SuccessRate.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
use function Pest\Stressless\stress;

it('may pass', function (): void {
$result = stress('nunomaduro.com')
$result = stress('example.com')
->with(2)->concurrentRequests()
->for(1)->second();

expect($result->failureRate())->toBe(0.0);
});

it('may fail', function (): void {
$result = stress('dummy-nunomaduro.com')
$result = stress('dummy-example.com')
->with(2)->concurrentRequests()
->for(1)->second();

Expand Down
4 changes: 2 additions & 2 deletions tests/Expectations/SuccessfulRequests.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use function Pest\Stressless\stress;

it('may pass', function (): void {
$result = stress('nunomaduro.com')
$result = stress('example.com')
->with(2)->concurrentRequests()
->for(1)->second();

Expand All @@ -15,7 +15,7 @@
});

it('may fail', function (): void {
$result = stress('dummy-nunomaduro.com')
$result = stress('dummy-example.com')
->with(2)->concurrentRequests()
->for(1)->second();

Expand Down

0 comments on commit 069d989

Please sign in to comment.