Skip to content

Commit becb57b

Browse files
author
palPalani
committed
Tests
1 parent b8e5215 commit becb57b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/SqsQueueReader/QueueTest.php renamed to tests/QueueTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ public function class_named_is_derived_from_queue_name()
2727
->getMock();
2828

2929
$method = new \ReflectionMethod(
30-
'palPalani\SqsQueueReader\Sqs\Queue',
30+
Queue::class,
3131
'createPayload'
3232
);
3333

3434
$method->setAccessible(true);
3535

36-
//$response = $method->invokeArgs($queue, [$job]);
36+
$method->invokeArgs($queue, [$job]);
3737
}
3838
}

tests/TestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ public function setUp(): void
1212
parent::setUp();
1313
}
1414

15-
protected function getPackageProviders($app)
15+
protected function getPackageProviders($app): array
1616
{
1717
return [
1818
SqsQueueReaderServiceProvider::class,
1919
];
2020
}
2121

22-
public function getEnvironmentSetUp($app)
22+
public function getEnvironmentSetUp($app): void
2323
{
2424
$app['config']->set('database.default', 'sqlite');
2525
$app['config']->set('database.connections.sqlite', [

0 commit comments

Comments
 (0)