@@ -35,14 +35,14 @@ protected function setUp(): void
35
35
$ this ->adapter = \Mockery::mock (AdapterInterface::class);
36
36
}
37
37
38
- public function testConstruct ()
38
+ public function testConstruct (): void
39
39
{
40
40
$ manager = new Manager ($ this ->adapter );
41
41
42
42
$ this ->assertInstanceOf (Manager::class, $ manager );
43
43
}
44
44
45
- public function testGetSecret ()
45
+ public function testGetSecret (): void
46
46
{
47
47
$ secret = new Secret ('foo ' , 'bar ' );
48
48
$ manager = new Manager ($ this ->adapter );
@@ -56,7 +56,7 @@ public function testGetSecret()
56
56
$ this ->assertEquals ($ secret , $ result );
57
57
}
58
58
59
- public function testGetBadSecret ()
59
+ public function testGetBadSecret (): void
60
60
{
61
61
$ this ->expectException (SecretNotFoundException::class);
62
62
$ this ->expectExceptionMessage ('No secret was found with the key: "foo" ' );
@@ -71,7 +71,7 @@ public function testGetBadSecret()
71
71
$ manager ->getSecret ('foo ' );
72
72
}
73
73
74
- public function testPutSecret ()
74
+ public function testPutSecret (): void
75
75
{
76
76
$ manager = new Manager ($ this ->adapter );
77
77
$ secret = new Secret ('foo ' , 'bar ' );
@@ -84,7 +84,7 @@ public function testPutSecret()
84
84
$ this ->assertEquals ($ secret , $ response );
85
85
}
86
86
87
- public function testDeleteSecretByKey ()
87
+ public function testDeleteSecretByKey (): void
88
88
{
89
89
$ manager = new Manager ($ this ->adapter );
90
90
$ secret = new Secret ('foo ' , '' );
@@ -101,7 +101,7 @@ public function testDeleteSecretByKey()
101
101
$ this ->assertTrue (true );
102
102
}
103
103
104
- public function testDeleteSecret ()
104
+ public function testDeleteSecret (): void
105
105
{
106
106
$ manager = new Manager ($ this ->adapter );
107
107
$ secret = new Secret ('foo ' , 'bar ' );
@@ -114,7 +114,7 @@ public function testDeleteSecret()
114
114
$ this ->assertTrue (true );
115
115
}
116
116
117
- public function testGetAdapter ()
117
+ public function testGetAdapter (): void
118
118
{
119
119
$ manager = new Manager ($ this ->adapter );
120
120
0 commit comments