Fakultas Ilmu Komputer UI

Commit 878a734c authored by Muhamad Lutfi Arif's avatar Muhamad Lutfi Arif
Browse files

[#109] Bug fix and remove unused variable

parent a921ab69
......@@ -73,7 +73,7 @@
{% if requested_material %}
<table class="table">
<table class="table" aria-describedby="Requested Material">
<th scope="col">No</th>
......@@ -2304,8 +2304,8 @@ class RequestMateriTest(TestCase):
def test_displays_all_requested_material(self):
first_material_request = ReqMaterial(title="Material 1").save()
second_material_request = ReqMaterial(title="Material 2").save()
ReqMaterial(title="Material 1").save()
ReqMaterial(title="Material 2").save()
response = self.client.get(self.url)
self.assertContains(response, 'Material 1')
self.assertContains(response, 'Material 2')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment