@@ -52,10 +52,6 @@ public function avatarTextData() {
5252 }
5353
5454 public function testGetNoAvatar () {
55- if (PHP_MAJOR_VERSION > 7 ) {
56- $ this ->markTestSkipped ('Only run on php7 ' );
57- }
58-
5955 $ file = $ this ->createMock (ISimpleFile::class);
6056 $ this ->folder ->method ('newFile ' )
6157 ->willReturn ($ file );
@@ -91,10 +87,6 @@ public function testGetNoAvatar() {
9187 }
9288
9389 public function testGetAvatarSizeMatch () {
94- if (PHP_MAJOR_VERSION > 7 ) {
95- $ this ->markTestSkipped ('Only run on php7 ' );
96- }
97-
9890 $ this ->folder ->method ('fileExists ' )
9991 ->willReturnMap ([
10092 ['avatar.jpg ' , true ],
@@ -112,10 +104,6 @@ public function testGetAvatarSizeMatch() {
112104 }
113105
114106 public function testGetAvatarSizeMinusOne () {
115- if (PHP_MAJOR_VERSION > 7 ) {
116- $ this ->markTestSkipped ('Only run on php7 ' );
117- }
118-
119107 $ this ->folder ->method ('fileExists ' )
120108 ->willReturnMap ([
121109 ['avatar.jpg ' , true ],
@@ -132,10 +120,6 @@ public function testGetAvatarSizeMinusOne() {
132120 }
133121
134122 public function testGetAvatarNoSizeMatch () {
135- if (PHP_MAJOR_VERSION > 7 ) {
136- $ this ->markTestSkipped ('Only run on php7 ' );
137- }
138-
139123 $ this ->folder ->method ('fileExists ' )
140124 ->willReturnMap ([
141125 ['avatar.png ' , true ],
@@ -200,10 +184,6 @@ public function testExistsPNG() {
200184 }
201185
202186 public function testSetAvatar () {
203- if (PHP_MAJOR_VERSION > 7 ) {
204- $ this ->markTestSkipped ('Only run on php7 ' );
205- }
206-
207187 $ avatarFileJPG = $ this ->createMock (File::class);
208188 $ avatarFileJPG ->method ('getName ' )
209189 ->willReturn ('avatar.jpg ' );
0 commit comments