Skip to content

Commit

Permalink
Update to new web-push-testing-service and removing unstable tests (w…
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Gaunt authored and Minishlink committed Jun 28, 2017
1 parent 46c9189 commit fdc8983
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ before_install:
- nvm install node

install:
- npm install web-push-testing-service@0.3.2 -g
- npm install web-push-testing-service -g

before_script:
- composer install --prefer-source -n
Expand Down
13 changes: 6 additions & 7 deletions tests/PushServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,28 +68,27 @@ public function browserProvider()
// Web Push
array('firefox', 'stable', array()),
array('firefox', 'beta', array()),
array('firefox', 'unstable', array()),

// Web Push + GCM
array('chrome', 'stable', array('GCM' => self::$gcmApiKey)),
array('chrome', 'beta', array('GCM' => self::$gcmApiKey)),
array('chrome', 'unstable', array('GCM' => self::$gcmApiKey)),

array('firefox', 'stable', array('GCM' => self::$gcmApiKey)),
array('firefox', 'beta', array('GCM' => self::$gcmApiKey)),
array('firefox', 'unstable', array('GCM' => self::$gcmApiKey)),

// Web Push + VAPID
array('chrome', 'stable', array('VAPID' => self::$vapidKeys)),
array('chrome', 'beta', array('VAPID' => self::$vapidKeys)),
array('chrome', 'unstable', array('VAPID' => self::$vapidKeys)),

array('firefox', 'stable', array('VAPID' => self::$vapidKeys)),
array('firefox', 'beta', array('VAPID' => self::$vapidKeys)),
array('firefox', 'unstable', array('VAPID' => self::$vapidKeys)),

// Web Push + GCM + VAPID
array('chrome', 'stable', array('GCM' => self::$gcmApiKey, 'VAPID' => self::$vapidKeys)),
array('chrome', 'beta', array('GCM' => self::$gcmApiKey, 'VAPID' => self::$vapidKeys)),
array('chrome', 'unstable', array('GCM' => self::$gcmApiKey, 'VAPID' => self::$vapidKeys)),

array('firefox', 'stable', array('GCM' => self::$gcmApiKey, 'VAPID' => self::$vapidKeys)),
array('firefox', 'beta', array('GCM' => self::$gcmApiKey, 'VAPID' => self::$vapidKeys)),
array('firefox', 'unstable', array('GCM' => self::$gcmApiKey, 'VAPID' => self::$vapidKeys)),
);
}

Expand Down

0 comments on commit fdc8983

Please sign in to comment.