[Vortex] FCM Response

Review Request #482 — Created Jan. 3, 2017 and submitted

p.valk
Lunr
vortex-3
481
483
b337f8c...
lunr

Added Response based on GCM

unittests.

  • 0
  • 0
  • 3
  • 0
  • 3
Description From Last Updated
smillernl
  1. 
      
  2. src/Lunr/Vortex/FCM/Tests/FCMResponseAddBatchResponseTest.php (Diff revision 1)
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     

    same issue as the payload

    1. we can use the gcm Response but i think its cleaner to use this. or we should change the name from GCMResponse to something more generic because it will be both gcm and fcm.
      i'l delete the tests that are testing the extended class.

  3. 
      
p.valk
p.valk
pprkut
  1. 
      
  2. src/Lunr/Vortex/FCM/FCMResponse.php (Diff revision 2)
     
     
     
     
     

    missing constructor and destructor

  3. src/Lunr/Vortex/FCM/Tests/FCMResponseTest.php (Diff revision 2)
     
     
     
     
     

    you're not doing anything with this, so why do you have it?

    1. so the FCMResponseBaseTest and FCMResponseTest doesnt need to be added when there are no tests? i thought maybe for future use or for clean code style.

    2. doesn't answer my question. Why do you need $this->batch_response ?

    3. at the moment dont need it, i just used the same style constructer as gcm with the tought that maybe some tests will get added that use it.

    4. then it should be added together with these tests. You can drop it now :)

  4. 
      
p.valk
pprkut
  1. Ship It!
  2. 
      
p.valk
Review request changed

Status: Closed (submitted)

Change Summary:

Merged into master

Loading...