Skip to content

Commit 15225f6

Browse files
committed
Remove unnecessary method-level group annotations
1 parent 74b64bd commit 15225f6

13 files changed

Lines changed: 1 addition & 71 deletions

File tree

‎tests/system/Database/BaseConnectionTest.php‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,6 @@ public function testCanConnectAndStoreConnection()
100100
$this->assertSame(123, $db->getConnection());
101101
}
102102

103-
/**
104-
* @group single
105-
*/
106103
public function testCanConnectToFailoverWhenNoConnectionAvailable()
107104
{
108105
$options = $this->options;

‎tests/system/Database/BaseQueryTest.php‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,6 @@ public function testSimpleBindsWithNamedBindPlaceholderElsewhere()
305305
}
306306

307307
/**
308-
* @group single
309-
*
310308
* @see https://github.com/codeigniter4/CodeIgniter4/issues/201
311309
*/
312310
public function testSimilarNamedBinds()

‎tests/system/Database/Builder/LikeTest.php‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,6 @@ public function testOrNotLike()
189189
$this->assertSame($expectedBinds, $builder->getBinds());
190190
}
191191

192-
/**
193-
* @group single
194-
*/
195192
public function testCaseInsensitiveLike()
196193
{
197194
$builder = new BaseBuilder('job', $this->db);

‎tests/system/Database/Live/DeleteTest.php‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,6 @@ public function testDeleteWithInternalWhere()
5353
$this->dontSeeInDatabase('job', ['name' => 'Developer']);
5454
}
5555

56-
/**
57-
* @group single
58-
*
59-
* @throws DatabaseException
60-
*/
6156
public function testDeleteWithLimit()
6257
{
6358
$this->seeNumRecords(2, 'user', ['country' => 'US']);

‎tests/system/Database/Live/UpdateTest.php‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,7 @@ public function testUpdateWithWhereSameColumn3()
181181
}
182182

183183
/**
184-
* @group single
185-
*
186-
* @see https://github.com/codeigniter4/CodeIgniter4/issues/324
184+
* @see https://github.com/codeigniter4/CodeIgniter4/issues/324
187185
*/
188186
public function testUpdatePeriods()
189187
{

‎tests/system/Database/Live/WhereTest.php‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,6 @@ public function testWhereIn()
106106
$this->assertSame('Accountant', $jobs[1]->name);
107107
}
108108

109-
/**
110-
* @group single
111-
*/
112109
public function testWhereNotIn()
113110
{
114111
$jobs = $this->db->table('job')

‎tests/system/HTTP/Files/FileCollectionTest.php‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,6 @@ public function testExtensionGuessing()
218218
$this->assertSame('zip', $file->guessExtension());
219219
}
220220

221-
/**
222-
* @group single
223-
*/
224221
public function testAllReturnsValidSingleFileNestedName()
225222
{
226223
$_FILES = [
@@ -309,9 +306,6 @@ public function testHasFileWithMultipleFilesWithDifferentNames()
309306
$this->assertTrue($collection->hasFile('userfile2'));
310307
}
311308

312-
/**
313-
* @group single
314-
*/
315309
public function testHasFileWithSingleFileNestedName()
316310
{
317311
$_FILES = [

‎tests/system/HTTP/NegotiateTest.php‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,6 @@ public function testNegotiateMediaSupportsStrictMatching()
8181
$this->assertSame('', $this->negotiate->media(['text/plain'], true));
8282
}
8383

84-
/**
85-
* @group single
86-
*/
8784
public function testAcceptCharsetMatchesBasics()
8885
{
8986
$this->request->setHeader('Accept-Charset', 'iso-8859-5, unicode-1-1;q=0.8');

‎tests/system/HTTP/URITest.php‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -663,8 +663,6 @@ public function testResolveRelativeURI($rel, $expected)
663663
/**
664664
* @dataProvider defaultResolutions
665665
*
666-
* @group single
667-
*
668666
* @param mixed $rel
669667
* @param mixed $expected
670668
*/
@@ -792,8 +790,6 @@ public function testGetQueryWithStrings()
792790

793791
/**
794792
* @see https://github.com/codeigniter4/CodeIgniter4/issues/331
795-
*
796-
* @group single
797793
*/
798794
public function testNoExtraSlashes()
799795
{

‎tests/system/Helpers/NumberHelperTest.php‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,6 @@ public function testQuadrillions()
123123
$this->assertSame('123.5 quadrillion', number_to_amount('123,456,700,000,000,000', 1, 'en_US'));
124124
}
125125

126-
/**
127-
* @group single
128-
*/
129126
public function testCurrencyCurrentLocale()
130127
{
131128
$this->assertSame('$1,235', number_to_currency(1234.56, 'USD', 'en_US'));

0 commit comments

Comments
 (0)