Skip to content
This repository was archived by the owner on Jan 27, 2024. It is now read-only.

Commit a34e22c

Browse files
committed
Merge pull request #1 from GrahamFlysystem/cs
CS fixes
2 parents 1264ea7 + d8487a6 commit a34e22c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tests/DropboxAdapterTests.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

3-
use League\Flysystem\Dropbox\DropboxAdapter as Dropbox;
43
use League\Flysystem\Config;
4+
use League\Flysystem\Dropbox\DropboxAdapter as Dropbox;
55

66
class DropboxTests extends PHPUnit_Framework_TestCase
77
{
@@ -33,7 +33,7 @@ public function dropboxProvider()
3333
public function testWrite($adapter, $mock)
3434
{
3535
$mock->shouldReceive('uploadFileFromString')->andReturn([
36-
'is_dir' => false,
36+
'is_dir' => false,
3737
'modified' => '10 September 2000',
3838
], false);
3939

@@ -50,7 +50,7 @@ public function testWrite($adapter, $mock)
5050
public function testUpdate(Dropbox $adapter, $mock)
5151
{
5252
$mock->shouldReceive('uploadFileFromString')->andReturn([
53-
'is_dir' => false,
53+
'is_dir' => false,
5454
'modified' => '10 September 2000',
5555
], false);
5656

@@ -67,7 +67,7 @@ public function testUpdate(Dropbox $adapter, $mock)
6767
public function testWriteStream(Dropbox $adapter, $mock)
6868
{
6969
$mock->shouldReceive('uploadFile')->andReturn([
70-
'is_dir' => false,
70+
'is_dir' => false,
7171
'modified' => '10 September 2000',
7272
], false);
7373

@@ -84,7 +84,7 @@ public function testWriteStream(Dropbox $adapter, $mock)
8484
public function testUpdateStream(Dropbox $adapter, $mock)
8585
{
8686
$mock->shouldReceive('uploadFile')->andReturn([
87-
'is_dir' => false,
87+
'is_dir' => false,
8888
'modified' => '10 September 2000',
8989
], false);
9090

@@ -113,7 +113,7 @@ public function testMetadataCalls($method)
113113
{
114114
$mock = $this->getClientMock();
115115
$mock->shouldReceive('getMetadata')->twice()->andReturn([
116-
'is_dir' => false,
116+
'is_dir' => false,
117117
'modified' => '10 September 2000',
118118
], false);
119119

@@ -166,7 +166,7 @@ public function testCreateDir(Dropbox $adapter, $mock)
166166
$mock->shouldReceive('createFolder')->with('/prefix/fail/please')->andReturn(null);
167167
$mock->shouldReceive('createFolder')->with('/prefix/pass/please')->andReturn([
168168
'is_dir' => true,
169-
'path' => 'pass/please',
169+
'path' => 'pass/please',
170170
]);
171171
$this->assertFalse($adapter->createDir('fail/please', new Config()));
172172
$expected = ['path' => 'pass/please', 'type' => 'dir'];

0 commit comments

Comments
 (0)