@@ -19,7 +19,7 @@ public function shouldGetWatchers()
19
19
$ api = $ this ->getApiMock ();
20
20
$ api ->expects ($ this ->once ())
21
21
->method ('get ' )
22
- ->with ('user/watched ' )
22
+ ->with ('user/subscriptions ' )
23
23
->will ($ this ->returnValue ($ expectedValue ));
24
24
25
25
$ this ->assertEquals ($ expectedValue , $ api ->all ());
@@ -33,7 +33,7 @@ public function shouldCheckWatcher()
33
33
$ api = $ this ->getApiMock ();
34
34
$ api ->expects ($ this ->once ())
35
35
->method ('get ' )
36
- ->with ('user/watched /l3l0/test ' )
36
+ ->with ('user/subscriptions /l3l0/test ' )
37
37
->will ($ this ->returnValue (null ));
38
38
39
39
$ this ->assertNull ($ api ->check ('l3l0 ' , 'test ' ));
@@ -47,7 +47,7 @@ public function shouldWatchUser()
47
47
$ api = $ this ->getApiMock ();
48
48
$ api ->expects ($ this ->once ())
49
49
->method ('put ' )
50
- ->with ('user/watched /l3l0/test ' )
50
+ ->with ('user/subscriptions /l3l0/test ' )
51
51
->will ($ this ->returnValue (null ));
52
52
53
53
$ this ->assertNull ($ api ->watch ('l3l0 ' , 'test ' ));
@@ -61,7 +61,7 @@ public function shouldUnwatchUser()
61
61
$ api = $ this ->getApiMock ();
62
62
$ api ->expects ($ this ->once ())
63
63
->method ('delete ' )
64
- ->with ('user/watched /l3l0/test ' )
64
+ ->with ('user/subscriptions /l3l0/test ' )
65
65
->will ($ this ->returnValue (null ));
66
66
67
67
$ this ->assertNull ($ api ->unwatch ('l3l0 ' , 'test ' ));
0 commit comments