Skip to content

Commit ac7dc06

Browse files
committed
tests: remove duplicate osf-adapter test
1 parent bd6a3ec commit ac7dc06

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

tests/unit/adapters/osf-adapter-test.ts

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -83,26 +83,6 @@ module('Unit | Adapter | osf-adapter', hooks => {
8383
assert.equal(url, result);
8484
});
8585

86-
test('#buildURL uses snapshot.adapterOptions.url if available', function(assert) {
87-
const url = 'http://localhost:8000/v2/users/me/rel/';
88-
const adapter = this.owner.lookup('adapter:osf-adapter');
89-
const user = FactoryGuy.make('user', {
90-
links: null,
91-
});
92-
93-
const result = adapter.buildURL(
94-
'user',
95-
'me',
96-
user._internalModel.createSnapshot({
97-
adapterOptions: {
98-
url,
99-
},
100-
}),
101-
'createRecord',
102-
);
103-
assert.equal(url, result);
104-
});
105-
10686
test('#ajaxOptions adds bulk contentType if request is bulk', function(assert) {
10787
const adapter = this.owner.lookup('adapter:osf-adapter');
10888
const opts = adapter.ajaxOptions(null, null, {

0 commit comments

Comments
 (0)