function testGetPids() { $pids = array(); $pids[] = $this->factory->post->create(); $pids[] = $this->factory->post->create(); $pids[] = $this->factory->post->create(); $pidz = Timber::get_pids('post_type=post'); sort($pidz, SORT_NUMERIC); $this->assertTrue(arrays_are_similar($pids, $pidz)); }