Skip to content

Commit

Permalink
Merge branch 'main' of github.com-private:sinnbeck/laravel-dom-assert…
Browse files Browse the repository at this point in the history
…ions into main
  • Loading branch information
sinnbeck committed Feb 10, 2023
2 parents 1355444 + 03e3e2e commit 99977eb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to `laravel-dom-assertion` will be documented in this file.

## v1.1.2 - 2023-02-10

- Add `->doesntHave()` assertion

## v1.1.0 - 2022-11-10

- Normalize multi-line text https://github.com/sinnbeck/laravel-dom-assertions/pull/9
Expand Down
1 change: 0 additions & 1 deletion src/Asserts/Traits/UsesElementAsserts.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ public function has(string $attribute, mixed $value = null): self

public function doesntHave(string $attribute, mixed $value = null): self
{

if (! $value) {
PHPUnit::assertFalse(
$this->hasAttribute($attribute),
Expand Down
1 change: 1 addition & 0 deletions src/TestResponseMacros.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

/**
* @internal
*
* @mixin TestResponse
*/
class TestResponseMacros
Expand Down
1 change: 0 additions & 1 deletion tests/DomTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@
});
});


it('can fail finding a href with exact match', function () {
$this->get('nesting')
->assertElementExists('body', function (AssertElement $assert) {
Expand Down

0 comments on commit 99977eb

Please sign in to comment.