also looking at this
Modify tests
#40
2 files
+13
-21
Review threads live on the whole diff, not on one commit, so none are shown here - a thread's line means something in the branch's final form, and painting it into an intermediate step would put it on code it is not about.
| @@ -42,7 +42,7 @@ it('can update a media', function () { | ||
| 42 | 42 | }); |
| 43 | 43 | |
| 44 | 44 | it('can search a media', function () { |
| 45 | $query = 'test media'; | |
| 45 | $query = 'people'; | |
| 46 | 46 | |
| 47 | 47 | $media = $this->client->media()->search($query); |
| 48 | 48 | |
| @@ -51,8 +51,6 @@ it('can search a media', function () { | ||
| 51 | 51 | }); |
| 52 | 52 | |
| 53 | 53 | it('can archive a media', function () { |
| 54 | $query = 'michael'; | |
| 55 | ||
| 56 | 54 | $media = $this->client->media()->archive(1); |
| 57 | 55 | |
| 58 | 56 | $this->assertTrue(is_array($media)); |
| @@ -60,8 +58,6 @@ it('can archive a media', function () { | ||
| 60 | 58 | }); |
| 61 | 59 | |
| 62 | 60 | it('can unarchive a media', function () { |
| 63 | $query = 'michael'; | |
| 64 | ||
| 65 | 61 | $media = $this->client->media()->unarchive(1); |
| 66 | 62 | |
| 67 | 63 | $this->assertTrue(is_array($media)); |
| @@ -69,8 +65,6 @@ it('can unarchive a media', function () { | ||
| 69 | 65 | }); |
| 70 | 66 | |
| 71 | 67 | it('can make a media private', function () { |
| 72 | $query = 'michael'; | |
| 73 | ||
| 74 | 68 | $media = $this->client->media()->makePrivate(1); |
| 75 | 69 | |
| 76 | 70 | $this->assertTrue(is_array($media)); |
| @@ -78,8 +72,6 @@ it('can make a media private', function () { | ||
| 78 | 72 | }); |
| 79 | 73 | |
| 80 | 74 | it('can make a media public', function () { |
| 81 | $query = 'michael'; | |
| 82 | ||
| 83 | 75 | $media = $this->client->media()->makePublic(1); |
| 84 | 76 | |
| 85 | 77 | $this->assertTrue(is_array($media)); |