ReviewOS

also looking at this

meemalabs/meema-client-php

Modify tests

#40
Merged glennmichael123 wants to merge modify-tests into main
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.

tests/MeemaMediaTest.phpmodified+1-9
Changes to tests/MeemaMediaTest.php
@@ -42,7 +42,7 @@ it('can update a media', function () {
4242});
4343
4444it('can search a media', function () {
45 $query = 'test media';
45 $query = 'people';
4646
4747 $media = $this->client->media()->search($query);
4848
@@ -51,8 +51,6 @@ it('can search a media', function () {
5151});
5252
5353it('can archive a media', function () {
54 $query = 'michael';
55
5654 $media = $this->client->media()->archive(1);
5755
5856 $this->assertTrue(is_array($media));
@@ -60,8 +58,6 @@ it('can archive a media', function () {
6058});
6159
6260it('can unarchive a media', function () {
63 $query = 'michael';
64
6561 $media = $this->client->media()->unarchive(1);
6662
6763 $this->assertTrue(is_array($media));
@@ -69,8 +65,6 @@ it('can unarchive a media', function () {
6965});
7066
7167it('can make a media private', function () {
72 $query = 'michael';
73
7468 $media = $this->client->media()->makePrivate(1);
7569
7670 $this->assertTrue(is_array($media));
@@ -78,8 +72,6 @@ it('can make a media private', function () {
7872});
7973
8074it('can make a media public', function () {
81 $query = 'michael';
82
8375 $media = $this->client->media()->makePublic(1);
8476
8577 $this->assertTrue(is_array($media));