Skip to content

Commit

Permalink
Indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
darrynten committed Feb 18, 2017
1 parent c6dcd63 commit ed3dac8
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions tests/GoogleNaturalLanguagePhp/GoogleNaturalLanguageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,16 +69,16 @@ public function testSet()
public function testGetEntities()
{
$config = [
'projectId' => 'project-id',
'cheapskate' => true,
'cache' => true,
'projectId' => 'project-id',
'cheapskate' => true,
'cache' => true,
];

$client = m::mock(NaturalLanguageClient::class);

$client->shouldReceive('analyzeEntities')
->once()
->andReturn();
->once()
->andReturn();

$instance = new GoogleNaturalLanguage($config);

Expand All @@ -95,16 +95,16 @@ public function testGetEntities()
public function testGetSyntax()
{
$config = [
'projectId' => 'project-id',
'cheapskate' => true,
'cache' => true,
'projectId' => 'project-id',
'cheapskate' => true,
'cache' => true,
];

$client = m::mock(NaturalLanguageClient::class);

$client->shouldReceive('analyzeSyntax')
->once()
->andReturn();
->once()
->andReturn();

$instance = new GoogleNaturalLanguage($config);

Expand All @@ -121,16 +121,16 @@ public function testGetSyntax()
public function testGetSentiment()
{
$config = [
'projectId' => 'project-id',
'cheapskate' => true,
'cache' => true,
'projectId' => 'project-id',
'cheapskate' => true,
'cache' => true,
];

$client = m::mock(NaturalLanguageClient::class);

$client->shouldReceive('analyzeSentiment')
->once()
->andReturn();
->once()
->andReturn();

$instance = new GoogleNaturalLanguage($config);

Expand All @@ -147,16 +147,16 @@ public function testGetSentiment()
public function testGetAll()
{
$config = [
'projectId' => 'project-id',
'cheapskate' => false,
'cache' => true,
'projectId' => 'project-id',
'cheapskate' => false,
'cache' => true,
];

$client = m::mock(NaturalLanguageClient::class);

$client->shouldReceive('annotateText')
->once()
->andReturn();
->once()
->andReturn();

$instance = new GoogleNaturalLanguage($config);

Expand Down

0 comments on commit ed3dac8

Please sign in to comment.