FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fixed spacing between test methods · JavaDevl/framework@e6073df · GitHub

Commit e6073df

Browse files
Fixed spacing between test methods
1 parent 3fb9c13 commit e6073df

10 files changed

Lines changed: 19 additions & 0 deletions

‎tests/Database/DatabaseMySqlSchemaGrammarTest.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,7 @@ public function testAddingTimeStamps()
482482
$this->assertEquals('alter table `users` add `created_at` timestamp default 0 not null, add `updated_at` timestamp default 0 not null', $statements[0]);
483483
}
484484

485+
485486
public function testAddingRememberToken()
486487
{
487488
$blueprint = new Blueprint('users');
@@ -492,6 +493,7 @@ public function testAddingRememberToken()
492493
$this->assertEquals('alter table `users` add `remember_token` varchar(100) null', $statements[0]);
493494
}
494495

496+
495497
public function testAddingBinary()
496498
{
497499
$blueprint = new Blueprint('users');

‎tests/Database/DatabaseSQLiteSchemaGrammarTest.php‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,7 @@ public function testAddingTimeStamps()
379379
$this->assertEquals($expected, $statements);
380380
}
381381

382+
382383
public function testAddingRememberToken()
383384
{
384385
$blueprint = new Blueprint('users');

‎tests/Database/DatabaseSqlServerSchemaGrammarTest.php‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,7 @@ public function testAddingTimeStamps()
403403
$this->assertEquals('alter table "users" add "created_at" datetime not null, "updated_at" datetime not null', $statements[0]);
404404
}
405405

406+
406407
public function testAddingRememberToken()
407408
{
408409
$blueprint = new Blueprint('users');

‎tests/Encryption/EncrypterTest.php‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ public function testEncryption()
1212
$this->assertTrue('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' == $e->decrypt($encrypted));
1313
}
1414

15+
1516
public function testEncryptionWithCustomCipher()
1617
{
1718
$e = $this->getEncrypter();

‎tests/Exception/HandlerTest.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ protected function setUp()
1313
$this->handler = new Handler($this->responsePreparer, $this->plainDisplayer, $this->debugDisplayer);
1414
}
1515

16+
1617
public function testHandleErrorExceptionArguments()
1718
{
1819
$error = null;
@@ -28,6 +29,7 @@ public function testHandleErrorExceptionArguments()
2829
$this->assertSame(0, $error->getCode(), 'error handler should use 0 exception code');
2930
}
3031

32+
3133
public function testHandleErrorOptionalArguments()
3234
{
3335
$error = null;

‎tests/Pagination/PaginationPaginatorTest.php‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public function testPaginationContextIsSetupCorrectly()
2121
$this->assertEquals(1, $p->getCurrentPage());
2222
}
2323

24+
2425
public function testSimplePagination()
2526
{
2627
$p = new Paginator($factory = m::mock('Illuminate\Pagination\Factory'), ['foo', 'bar', 'baz'], 2);

‎tests/Queue/QueueSqsQueueTest.php‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public function setUp() {
4444
'MessageId' => $this->mockedMessageId))));
4545
}
4646

47+
4748
public function testPopProperlyPopsJobOffOfSqs()
4849
{
4950
$queue = $this->getMock('Illuminate\Queue\SqsQueue', array('getQueue'), array($this->sqs, $this->queueName, $this->account));
@@ -54,6 +55,7 @@ public function testPopProperlyPopsJobOffOfSqs()
5455
$this->assertInstanceOf('Illuminate\Queue\Jobs\SqsJob', $result);
5556
}
5657

58+
5759
public function testDelayedPushWithDateTimeProperlyPushesJobOntoSqs()
5860
{
5961
$now = Carbon\Carbon::now();
@@ -66,6 +68,7 @@ public function testDelayedPushWithDateTimeProperlyPushesJobOntoSqs()
6668
$this->assertEquals($this->mockedMessageId, $id);
6769
}
6870

71+
6972
public function testDelayedPushProperlyPushesJobOntoSqs()
7073
{
7174
$queue = $this->getMock('Illuminate\Queue\SqsQueue', array('createPayload', 'getSeconds', 'getQueue'), array($this->sqs, $this->queueName, $this->account));
@@ -77,6 +80,7 @@ public function testDelayedPushProperlyPushesJobOntoSqs()
7780
$this->assertEquals($this->mockedMessageId, $id);
7881
}
7982

83+
8084
public function testPushProperlyPushesJobOntoSqs()
8185
{
8286
$queue = $this->getMock('Illuminate\Queue\SqsQueue', array('createPayload', 'getQueue'), array($this->sqs, $this->queueName, $this->account));

‎tests/Support/SupportHelpersTest.php‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ public function testDataGet()
226226
$this->assertEquals('Not found', data_get($array, '0.users.3', function (){ return 'Not found'; }));
227227
}
228228

229+
229230
public function testArraySort()
230231
{
231232
$array = array(

‎tests/Support/SupportMacroTraitTest.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,15 @@ private function createObjectForTrait()
1919
return $this->getObjectForTrait($traitName);
2020
}
2121

22+
2223
public function testRegisterMacro()
2324
{
2425
$macroTrait = $this->macroTrait;
2526
$macroTrait::macro(__CLASS__, function() { return 'Taylor'; });
2627
$this->assertEquals('Taylor', $macroTrait::{__CLASS__}());
2728
}
2829

30+
2931
public function testResgisterMacroAndCallWithoutStatic()
3032
{
3133
$macroTrait = $this->macroTrait;

‎tests/Validation/ValidationValidatorTest.php‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ public function testAttributeNamesAreReplaced()
126126
$this->assertEquals('Name is required!', $v->messages()->first('name'));
127127
}
128128

129+
129130
public function testDisplayableValuesAreReplaced()
130131
{
131132
//required_if:foo,bar
@@ -149,6 +150,7 @@ public function testDisplayableValuesAreReplaced()
149150

150151
}
151152

153+
152154
public function testCustomValidationLinesAreRespected()
153155
{
154156
$trans = $this->getRealTranslator();
@@ -1000,6 +1002,7 @@ public function testValidateAlphaDash()
10001002

10011003
}
10021004

1005+
10031006
public function testValidateTimezone()
10041007
{
10051008
$trans = $this->getRealTranslator();
@@ -1019,6 +1022,7 @@ public function testValidateTimezone()
10191022
$this->assertTrue($v->passes());
10201023
}
10211024

1025+
10221026
public function testValidateRegex()
10231027
{
10241028
$trans = $this->getRealTranslator();

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL