@@ 39-50 (lines=12) @@ | ||
36 | } |
|
37 | ||
38 | ||
39 | public function testGetProviderSecret() |
|
40 | { |
|
41 | $config = array( |
|
42 | 'consumerkey' => 'test', |
|
43 | 'consumersecret' => 'test', |
|
44 | ); |
|
45 | $object = new FlyCopy( $config ); |
|
46 | $this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object ); |
|
47 | ||
48 | $this->setExpectedException( 'Aimeos\MW\Filesystem\Exception' ); |
|
49 | $object->has( 'test' ); |
|
50 | } |
|
51 | ||
52 | ||
53 | public function testGetProviderToken() |
|
@@ 53-65 (lines=13) @@ | ||
50 | } |
|
51 | ||
52 | ||
53 | public function testGetProviderToken() |
|
54 | { |
|
55 | $config = array( |
|
56 | 'consumerkey' => 'test', |
|
57 | 'consumersecret' => 'test', |
|
58 | 'accesstoken' => 'test', |
|
59 | ); |
|
60 | $object = new FlyCopy( $config ); |
|
61 | $this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object ); |
|
62 | ||
63 | $this->setExpectedException( 'Aimeos\MW\Filesystem\Exception' ); |
|
64 | $object->has( 'test' ); |
|
65 | } |
|
66 | ||
67 | ||
68 | public function testGetProviderAccess() |