Skip to content

Commit

Permalink
Apply fixes from StyleCI (#752)
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell authored Mar 19, 2020
1 parent 62d8f73 commit da28590
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/Concerns/MakesAssertions.php
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ public function assertAttribute($selector, $attribute, $value)
*/
public function assertDataAttribute($selector, $attribute, $value)
{
return $this->assertAttribute($selector, 'data-' . $attribute, $value);
return $this->assertAttribute($selector, 'data-'.$attribute, $value);
}

/**
Expand All @@ -598,7 +598,7 @@ public function assertDataAttribute($selector, $attribute, $value)
*/
public function assertAriaAttribute($selector, $attribute, $value)
{
return $this->assertAttribute($selector, 'aria-' . $attribute, $value);
return $this->assertAttribute($selector, 'aria-'.$attribute, $value);
}

/**
Expand Down
6 changes: 3 additions & 3 deletions tests/MakesAssertionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function test_assert_attribute()
$this->fail();
} catch (ExpectationFailedException $e) {
$this->assertStringContainsString(
"Did not see expected attribute [bar] within element [Foo].",
'Did not see expected attribute [bar] within element [Foo].',
$e->getMessage()
);
}
Expand Down Expand Up @@ -111,7 +111,7 @@ public function test_assert_data_attribute()
$this->fail();
} catch (ExpectationFailedException $e) {
$this->assertStringContainsString(
"Did not see expected attribute [data-bar] within element [Foo].",
'Did not see expected attribute [data-bar] within element [Foo].',
$e->getMessage()
);
}
Expand Down Expand Up @@ -148,7 +148,7 @@ public function test_assert_aria_attribute()
$this->fail();
} catch (ExpectationFailedException $e) {
$this->assertStringContainsString(
"Did not see expected attribute [aria-bar] within element [Foo].",
'Did not see expected attribute [aria-bar] within element [Foo].',
$e->getMessage()
);
}
Expand Down

0 comments on commit da28590

Please sign in to comment.