@@ -58,7 +58,7 @@ public function testRegisterLazyAdapter()
58
58
$ this ->adapterFactory ->register (
59
59
'test ' ,
60
60
'Testing ' ,
61
- TestIssueTrackerFactory::class
61
+ ' Gush\Tests\Fixtures\Adapter\ TestIssueTrackerFactory'
62
62
);
63
63
64
64
$ this ->assertTrue ($ this ->adapterFactory ->has ('test ' ));
@@ -80,7 +80,7 @@ public function testGetAllAdapters()
80
80
$ this ->adapterFactory ->register (
81
81
'test2 ' ,
82
82
'Testing2 ' ,
83
- TestIssueTrackerFactory::class
83
+ ' Gush\Tests\Fixtures\Adapter\ TestIssueTrackerFactory'
84
84
);
85
85
86
86
$ this ->assertEquals (
@@ -92,7 +92,7 @@ public function testGetAllAdapters()
92
92
AdapterFactory::SUPPORT_ISSUE_TRACKER => false ,
93
93
],
94
94
'test2 ' => [
95
- 'factory ' => TestIssueTrackerFactory::class ,
95
+ 'factory ' => ' Gush\Tests\Fixtures\Adapter\ TestIssueTrackerFactory' ,
96
96
'label ' => 'Testing2 ' ,
97
97
AdapterFactory::SUPPORT_REPOSITORY_MANAGER => false ,
98
98
AdapterFactory::SUPPORT_ISSUE_TRACKER => true ,
@@ -127,7 +127,7 @@ public function testCreatesObjectFromLazyFactory()
127
127
$ this ->adapterFactory ->register (
128
128
'test ' ,
129
129
'Testing ' ,
130
- TestAdapterFactory::class
130
+ ' Gush\Tests\Fixtures\Adapter\ TestAdapterFactory'
131
131
);
132
132
133
133
$ createdAdapter = $ this ->adapterFactory ->createRepositoryManager (
@@ -136,7 +136,7 @@ public function testCreatesObjectFromLazyFactory()
136
136
$ this ->config
137
137
);
138
138
139
- $ this ->assertInstanceOf (Adapter::class , $ createdAdapter );
139
+ $ this ->assertInstanceOf (' Gush\ Adapter\Adapter ' , $ createdAdapter );
140
140
}
141
141
142
142
public function testCreateConfigurator ()
@@ -151,10 +151,10 @@ public function testCreateConfigurator()
151
151
152
152
$ createdConfigurator = $ this ->adapterFactory ->createConfigurator (
153
153
'test ' ,
154
- $ this ->prophesize (HelperSet::class )->reveal ()
154
+ $ this ->prophesize (' Symfony\Component\Console\Helper\ HelperSet' )->reveal ()
155
155
);
156
156
157
- $ this ->assertInstanceOf (Configurator::class , $ createdConfigurator );
157
+ $ this ->assertInstanceOf (' Gush\Adapter\ Configurator' , $ createdConfigurator );
158
158
}
159
159
160
160
public function testCreateRepositoryManagerAdapter ()
@@ -173,7 +173,7 @@ public function testCreateRepositoryManagerAdapter()
173
173
$ this ->config
174
174
);
175
175
176
- $ this ->assertInstanceOf (Adapter::class , $ createdAdapter );
176
+ $ this ->assertInstanceOf (' Gush\ Adapter\Adapter ' , $ createdAdapter );
177
177
}
178
178
179
179
public function testCreateIssueTrackerAdapter ()
@@ -192,7 +192,7 @@ public function testCreateIssueTrackerAdapter()
192
192
$ this ->config
193
193
);
194
194
195
- $ this ->assertInstanceOf (IssueTracker::class , $ createdAdapter );
195
+ $ this ->assertInstanceOf (' Gush\Adapter\ IssueTracker' , $ createdAdapter );
196
196
}
197
197
198
198
public function testCannotCreateUnregisteredAdapter ()
0 commit comments