Ejemplo n.º 1
0
 /**
  * Test searching by any tags
  *
  * @test
  */
 public function testWithAnyTags()
 {
     /** @var Collection $models */
     $models = TestModel::withAnyTags('Banana,Cherry')->get();
     $keys = $models->modelKeys();
     $this->assertArrayValuesAreEqual([$this->testModelABC->getKey(), $this->testModelAB->getKey(), $this->testModelC->getKey()], $keys);
 }