anchor.diff:    });
   }
   
  +void _testNoActiveUser(Future Function(PubApiClient client) fn) {
  +  testWithProfile('No active user', fn: () async {
  +    final client = createPubApiClient();
  +    final rs = fn(client);
  +    await expectApiException(rs,
  +        status: 401,
  +        code: 'MissingAuthentication',
  +        message: 'please add `authorization` header');
  +  });
  +}
  +
   void _testNoPackage(Future Function(PubApiClient client) fn) {
  -  testWithServices('No package with given name', () async {
  -    final client = createPubApiClient(authToken: hansUser.userId);
  +  testWithProfile('No package with given name', fn: () async {
  +    final client = createPubApiClient(authToken: adminAtPubDevAuthToken);
       final rs = fn(client);
       await expectApiException(rs, status: 404, code: 'NotFound');
     });
   }
   
   void _testNoPublisher(Future Function(PubApiClient client) fn) {
  -  testWithServices('No publisher with given id', () async {
  -    final client = createPubApiClient(authToken: hansUser.userId);
  +  testWithProfile('No publisher with given id', fn: () async {
  +    final client = createPubApiClient(authToken: adminAtPubDevAuthToken);
       final rs = fn(client);
       await expectApiException(rs, status: 404, code: 'NotFound');
     });
  
positive.code:     });
  
      _testNoPublisher((client) async {
        await _setup();
        return client.setPackagePublisher(
          hydrogen.packageName,
          PackagePublisherInfo(publisherId: 'no-domain.net'),
        );
      });
  
  
negative.code:     }
  
      _testNoPackage((client) async {
        return client.setPackagePublisher(
          'no_package',
          PackagePublisherInfo(publisherId: 'no-domain.net'),
  