From ea2a47ff724e6c94765480e2efe885ee97b5a980 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 19 Mar 2020 13:33:18 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Concerns/MakesAssertions.php | 4 ++-- tests/MakesAssertionsTest.php | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Concerns/MakesAssertions.php b/src/Concerns/MakesAssertions.php index 30d6b9b5c..0e17b8ad0 100644 --- a/src/Concerns/MakesAssertions.php +++ b/src/Concerns/MakesAssertions.php @@ -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); } /** @@ -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); } /** diff --git a/tests/MakesAssertionsTest.php b/tests/MakesAssertionsTest.php index d3e33ea0c..eb5da4c37 100644 --- a/tests/MakesAssertionsTest.php +++ b/tests/MakesAssertionsTest.php @@ -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() ); } @@ -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() ); } @@ -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() ); }